xs.dateTime.le( value as xs.dateTime ) as boolean
Less-than or equal comparison on xs.dateTime values
Parameters | |
---|---|
value | A date time value. |
const v1 = xs.dateTime(xs.date('2013-08-15'), xs.time('12:30:45-05:00')); const v2 = xs.dateTime(xs.date('2012-04-01'), xs.time('01:10:25-02:00')); v1.le(v2);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.