Loading TOC...

xdmp.wallclockToTimestamp

xdmp.wallclockToTimestamp(
   $timestamp as Date
) as String

Summary

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

Parameters
$timestamp The xs:datetime value.

Example

xdmp.wallclockToTimestamp(xs.dateTime("2000-01-11T12:01:00"));
=> 9476208600000000
 

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.