We use java code to extract the date instead of the tag. The basic java code for getting the date is:
Content page = Resource.getActivePage(request); Date d = page.getMetaData().getModificationDate().getTime(); Once you've got a java.util.Date object you can use a java.text.SimpleDateFormatter to print out the date in a format you want. HTH, Tom > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 30, 2007 7:59 AM > To: [email protected] > Subject: [magnolia-user] Showing date of last change > > There are a couple of pages in the Wiki that suggest how to > display the date a page was last changed. However, my JSP > and Magnolia skills are not yet up to understanding them; and > a cut and paste does nothing, because cmsu doesn't appear to > contain the property used (if I'm reading it right)... > > Has anyone got a working example or further explanation (for Magnolia > 2.1.5 at present) that they could share, please? > > Thanks, > > Paul > > -- > Paul Hodges > > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
