OpenCms JSP standard taglib
Function convertDate

java.util.Date convertDate(java.lang.Object)

Allows conversion of Long values to Dates. Can also handle Strings that represent a Long or a Date.

Example:

<fmt:formatDate value="${cms:convertDate(value.Date)}" dateStyle="SHORT" timeStyle="SHORT" type="both" />


Function Information
Function Classorg.opencms.jsp.util.CmsJspElFunctions
Function Signaturejava.util.Date convertDate(java.lang.Object)
Display NameNone


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.