diff --git a/src/org/opencms/jsp/util/CmsJspObjectValueWrapper.java b/src/org/opencms/jsp/util/CmsJspObjectValueWrapper.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/jsp/util/CmsJspObjectValueWrapper.java
+++ b/src/org/opencms/jsp/util/CmsJspObjectValueWrapper.java
@@ -33,6 +33,7 @@ import org.opencms.util.CmsStringUtil;
 import org.opencms.xml.types.I_CmsXmlContentValue;
 
 import java.util.Collection;
+import java.util.Date;
 
 /**
  * Provides access to common object types through wrappers.<p>
@@ -174,6 +175,22 @@ public final class CmsJspObjectValueWrapper extends A_CmsJspValueWrapper {
     }
 
     /**
+     * Converts the wrapped value to a date. Keeps it as date, if it already is one.<p>
+     *
+     * @return the date
+     *
+     * @see A_CmsJspValueWrapper#getToDate()
+     */
+    @Override
+    public Date getToDate() {
+
+        if (m_object instanceof Date) {
+            return (Date)m_object;
+        }
+        return super.getToDate();
+    }
+
+    /**
      * @see java.lang.Object#hashCode()
      */
     @Override
Improved CmsJspObjectValueWrapper to correctly wrap Date objects.