Skip to content

@serenity-is/corelib / today

Function: today()

today(): Date

Defined in: src/compat/system-compat.ts:48

Returns the current local date with the time component zeroed to midnight.

Returns

Date

A Date representing today at 00:00:00 in the local time zone.