Loading TOC...

MarkLogic 10 Product Documentation
xs.date.lt

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

Summary

Less-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.lt(v2);

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