Hi Matteo Why don't you get the Calendar object directly inside your "toCalendar" method? You could write a method which gets the mgnl:lastModified meta data property and calls getDate() on it. This way you don't have to convert date -> string -> date
See my post above. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=fd8a7fd1-fda7-4099-8d4a-b24989bcbd0f ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
