The 'GetTimeHour' function returns the current hour that is stored in 'Windows OS'.
int @GetTimeHour();
Parameters
none
Return Value
current hour
Example
h = @GetTimeHour();
Description : Assume that the current hour is 2:00 pm. '14' is stored in the variable named 'h'.
Reference