Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts and temporal functions (Temporal)

For the complete list of functions and categories in this namespace, refer to the main cts functions page.

3 functions
Function name Description
cts.period Creates a period value, for use as a parameter to cts:period-range-query or cts:period-compare-query.
cts.periodCompare Compares two periods using the specified comparison operator.
temporal.documentPeriod This function returns the period (as a dateTime pair) for the named axis in the document identified by its root node in the named collection.