Time.StartOfHour

About

Returns the first value of the hour from a time value.

Syntax

Time.StartOfHour(datetime as datetime) as nullable datetime  

Arguments

Argument Description
dateTime The DateTime to check against.

Example

Time.StartOfHour(#datetime(2013, 4, 5, 1, 3, 45)) equals #datetime(2013, 4, 5, 1, 0, 0)