Date.StartOfDay
Date.StartOfDay(dateTime as any) as any
Returns the start of the day represented by dateTime
. dateTime
must be a date
, datetime
, or datetimezone
value.
Find the start of the day for October 10th, 2011, 8:00AM.
Usage
Date.StartOfDay(#datetime(2011, 10, 10, 8, 0, 0))
Output
#datetime(2011, 10, 10, 0, 0, 0)