I have a dateTime variable, and I want to convert it to a decimal value of epoch. How can this be done?
I tried using:
seconds-from-duration($time, x
A pure xsl 1.0 lib example:
time_as_timestamp: time_as_xsdatetime: converted back:
Output:
time_as_timestamp:1365599995640 time_as_xsdatetime:2013-04-10T13:19:55.640Z converted back:1365599995640