[xwiki-users] How to get the current time ?
Hi all, I would like to retrieve the current time to pass as an argument for $!xwiki.formatDate(). How can I do that? Also, where I can find the complete API reference of methods like formatDate() and so on? Regards, Ramon Gomes Brandão
Hi! 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?
Could this help? http://code.xwiki.org/xwiki/bin/view/Plugins/JodaTimePlugin
Also, where I can find the complete API reference of methods like formatDate() and so on?
Greetings, -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems
On 09/03/2010 11:27 PM, 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?
$util.date
Also, where I can find the complete API reference of methods like formatDate() and so on?
http://platform.xwiki.org/xwiki/bin/view/DevGuide/API -- Sergiu Dumitriu http://purl.org/net/sergiu/
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...
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... http://download-llnw.oracle.com/javase/1.5.0/docs/api/java/text/SimpleDateFo... 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
participants (4)
-
[Ricardo Rodriguez] eBioTIC. -
Marius Dumitru Florea -
Ramon Gomes Brandão - SERINT -
Sergiu Dumitriu