Time.StartOfHour

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

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

Time.StartOfHour(datetime as datetime) as nullable datetime  

ArgumentDescription
dateTimeThe DateTime to check against.
Time.StartOfHour(#datetime(2013, 4, 5, 1, 3, 45)) equals #datetime(2013, 4, 5, 1, 0, 0)  

Show: