Examples
The hour() function returns the hours portion of a given time value.
hour(time)
• time – A time or datetime value
An integer between 0 and 23.