On 09/04/2010 12:27 AM, Ramon Gomes Brandão - SERINT wrote: > Hi all, > > >
> I would like to retrieve the current time to pass as an argument for > $!xwiki.formatDate(). How can I do that? http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/2.4/xwiki-core-2.4-javadoc.jar/!/com/xpn/xwiki/api/Util.html#getDate%28%29 > > > > Also, where I can find the complete API reference of methods like > formatDate() and so on? http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/2.4/xwiki-core-2.4-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html#formatDate%28java.util.Date,%20java.lang.String%29 http://download-llnw.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFormat.html For more complex date and time manipulation check out the JodaTime plugin as Ricardo suggested. Hope this helps, Marius > > > > Regards, > > > > Ramon Gomes Brandão > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
