[xwiki-users] Date Format in XAR
Hey All: I was wondering what, or how the format of the date is used, in the XAR. What is the conversion that is used to signify the date and time. For example I have a modify date and time of 2010/11/26 10:52. In the XML the data is listed as 1290786747000. The reason that this is important, is that I am trying to create a set of pages via xml and import them as such. It will also help in parsing over exported xmls for an external reference. Thanks for your help. Martin Bryant -- View this message in context: http://xwiki.475771.n2.nabble.com/Date-Format-in-XAR-tp5777753p5777753.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On 11/26/2010 05:01 PM, mbryant wrote:
Hey All:
I was wondering what, or how the format of the date is used, in the XAR. What is the conversion that is used to signify the date and time. For example I have a modify date and time of 2010/11/26 10:52. In the XML the data is listed as 1290786747000.
That is "milliseconds since the unix epoch".
The reason that this is important, is that I am trying to create a set of pages via xml and import them as such. It will also help in parsing over exported xmls for an external reference.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Thanks that actually helped a lot. looking over the xar I have a few other questions. I know that the creator is the user that originally created the document, but what is the different between author, and content author, as well as date (date modified) and content update date. Thanks ahead of time. Martin Bryant -- View this message in context: http://xwiki.475771.n2.nabble.com/Date-Format-in-XAR-tp5777753p5784340.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
mbryant -
Sergiu Dumitriu