Date.start_of_day

Date.start_of_day

Date.start_of_day

Function

Returns a new Date object at zero o'clock on the current day.

Syntax

Parameters

None.

Return value

TypeDescription
DateA new Date object at 00:00:00 today.

Code Example

Notes

  • The original Date object is not modified.