try:
(fn:current-dateTime() - xs:dateTime("1970-01-01T00:00:00-00:00")) div xdt:dayTimeDuration("PT0.001S")
(thanks to Luciano for this)
or do a Custom XPath returning System.currentTimeMillis() from Java.
Thursday, December 1, 2011
Subscribe to:
Post Comments (Atom)
1 comment:
Hi Master
Thanks for the post.
Just a small improvement to avoid decimal values:
xs:integer((fn:current-dateTime() - xs:dateTime("1970-01-01T00:00:00-00:00")) div xdt:dayTimeDuration("PT0.001S"))
Thanks
Post a Comment