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"));

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy