🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators date

The date operator returns the date part of the current system time (Now), with the time component set to 00:00:00.

It is typically used when only the calendar date is needed, when time precision must be removed, or when comparing dates without time.

Example:

Order.allinstances->first.Orderdate.date

It returns only the date portion of Orderdate

See also: