[xwiki-users] XWiki date

Mihails Agafonovs _muxa at inbox.lv
Fri Jun 20 11:26:06 CEST 2008


No, I mean getting explicitly the year, month etc.
For example, 
$doc.someFunction(year) would return only the year
$doc.someFunction(month) would return only the month...
 Quoting "Esbach, Brandon" : More or less, yes;
 You can use $xwiki.formatDate(<date here>, "<here goes
format>")) where you replace <date here> with a real
date, eg $xwiki.currentDate(see below for document date examples)
<here goes format> with a time format, eg 
 HH:mm:ss dd-MM-yyyy
 $doc.date for last modified date
 $doc.creationDate for creation date of document.
 -----Original Message-----
 From: users-bounces at xwiki.org [mailto:users-bounces at xwiki.org] On
Behalf Of Mihails Agafonovs
 Sent: 20 June 2008 09:58
 To: users at xwiki.org
 Subject: [xwiki-users] XWiki date
 Hi!
 Is it possible to get document creation/modification date, month,
year, time explicitly?
 Ar cieņu, Mihails
 _______________________________________________
 users mailing list
 users at xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 _______________________________________________
 users mailing list
 users at xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
------
[1] mailto:Esbachb at tycoelectronics.com


More information about the users mailing list