🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators date
Created by Charles on 2024-09-21 · Last edited by Vale.buyondo on 2025-12-15.

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, time precision must be removed,comparing dates without time

Example

Order.allinstances->first.Orderdate.date

Returns only the date portion of Orderdate

See also: