Time.Hour

Last updated 5 months ago

Time.Hour

Returns the hour component.

function (optional dateTime as nullable any) as nullable any

Description

Returns the hour component of the provided time, datetime, or datetimezone value, dateTime.

Category

Time

Examples

Find the hour in #datetime(2011, 12, 31, 9, 15, 36).

Time.Hour(#datetime(2011, 12, 31, 9, 15, 36))

9