
cts:before-query-timestamp( $query as cts:before-query ) as xs:unsignedLong
Returns the timestamp with which a specified query was constructed.
| Parameters | |
|---|---|
| query | A query. | 
cts:before-query-timestamp(cts:before-query(
  xdmp:wallclock-to-timestamp(
  fn:current-dateTime() - xs:dayTimeDuration("PT3H")))
)
 => timestamp of the specified query
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.