Loading TOC...

xs.date.gt

xs.date.gt(
   value as xs.date
) as boolean

Summary

Greater-than comparison on xs.date values

Parameters
value A date value.

Example

const v1 = xs.date('2013-08-15');
const v2 = xs.date('2012-04-01');
v1.gt(v2);

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