Loading TOC...

xs.dateTime.ge

xs.dateTime.ge(
   value as xs.dateTime
) as boolean

Summary

Greater-than or equal comparison on xs.dateTime values

Parameters
value A date time value.

Example

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

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