xs.date functions

The table below lists all the xs.date built-in functions (in this namespace: xs.date).

8 functions
Function name Description
xs.date.add Returns the end of a time period by adding an xs.yearMonthDuration to the xs.date that starts the period.
xs.date.eq Equality comparison on xs.date values
xs.date.ge Greater-than or equal comparison on xs.date values
xs.date.gt Greater-than comparison on xs.date values
xs.date.le Less-than or equal comparison on xs.date values
xs.date.lt Less-than comparison on xs.date values
xs.date.ne Not equal comparison on xs.date values
xs.date.subtract Returns the difference between two xs.dates as an xs.dayTimeDuration.
Powered by MarkLogic Server | Terms of Use | Privacy Policy