Loading TOC...

xs.dateTime.lt

xs.dateTime.lt(
   $value as xs.dateTime
) as boolean

Summary

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

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy