Share via


Time.Hour

Syntax

Time.Hour(dateTime as any) as nullable number

About

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

Example 1

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

Usage

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

Output

9