Hour

Extracts hours from a datetime \ time

Hour("23:11:40.000") → 23
Hour("2021-01-01 20:00:00.000") → 20

Inputs

Hour(dateTime)

  • dateTime - Date, time, or datetime value