Time.StartOfHour
Time.StartOfHour(dateTime as any) as any
Returns the start of the hour represented by dateTime
. dateTime
must be a time
, datetime
or datetimezone
value.
Find the start of the hour for October 10th, 2011, 8:10:32AM.
Usage
Time.StartOfHour(#datetime(2011, 10, 10, 8, 10, 32))
Output
#datetime(2011, 10, 10, 8, 0, 0)