xdmp.timestampToWallclock( timestamp as (Number|String) ) as Date
Converts a 64 bit timestamp value to an xs:dateTime.
xdmp.timestampToWallclock(9476208600000000); => 2000-01-11T12:01:00
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.