Xojo.Core.Date.Hour
From Xojo Documentation
Read-Only Property (As Integer )
The hour number for the time portion of the date, using a 24-hour clock. For example, 20 is the value for 8 pm.
Sample Code
Get the current hour:
The hour number for the time portion of the date, using a 24-hour clock. For example, 20 is the value for 8 pm.
Get the current hour: