Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts:after-query-timestamp

cts:after-query-timestamp(
   $query as cts:after-query
) as xs:unsignedLong

Summary

Returns the timestamp with which a specified query was constructed.

Parameters
query A query.

Example

cts:after-query-timestamp(cts:after-query(
  xdmp:wallclock-to-timestamp(
  fn:current-dateTime() - xs:dayTimeDuration("PT3H")))
)

 => timestamp of the specified query

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