Time.Hour

About

Returns an hour value from a DateTime value.

Syntax

Time.Hour(dateTime as datetime) as nullable number  

Arguments

Argument Description
dateTime The DateTime to check against.

Example

Time.Hour(DateTime.FromText("12:56:20")) equals 12