[opencms-dev] DateLastModified

Jan Meier jan.meier at zmnh.uni-hamburg.de
Tue Apr 18 09:15:04 CEST 2006


Hi,

Am Montag 17 April 2006 18:52 schrieb Yo:
>  How can i get the attribute DateLastModified to show in a template? 

java.util.Date d;
unix_time = 
cms.getCmsObject().readResource(cms.getCmsObject().getRequestContext().getUri()).getDateLastModified();
d = new java.util.Date (unix_time)

Regards 
Jan



More information about the opencms-dev mailing list