cts.beforeQueryTimestamp

cts.beforeQueryTimestamp(
   query as cts.beforeQuery
) as (Number|String)

Summary

Returns the timestamp with which a specified query was constructed.

Parameters
query A query.

Example

cts.beforeQueryTimestamp(cts.beforeQuery(
  xdmp.wallclockToTimestamp(
  fn.currentDateTime().subtract(xs.dayTimeDuration("PT3H"))))
)

// => timestamp of the specified query
Powered by MarkLogic Server | Terms of Use | Privacy Policy