Loading TOC...

cts.period

cts.period(
   start as Date,
   end as Date
) as cts.period

Summary

Creates a period value, for use as a parameter to cts:period-range-query or cts:period-compare-query.

Parameters
start The dateTime value indicating start of the period.
end The dateTime value indicating end of the period.

Example

cts.period( xs.dateTime("1990-01-01T00:00:00Z"),
            xs.dateTime("2000-01-01T00:00:00Z"));

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