Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp:timestamp-to-wallclock

xdmp:timestamp-to-wallclock(
   $timestamp as xs:unsignedLong
) as xs:dateTime

Summary

Converts a 64 bit timestamp value to an xs:dateTime.

Parameters
timestamp The timestamp.

Example

xdmp:timestamp-to-wallclock(9476208600000000)
=> 2000-01-11T12:01:00
 

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.