Return the current hour in 24h format.
Syntax:
1 |
CurrentHour |
Example:
1 2 3 4 5 6 7 8 9 |
//Testing if it's time to lunch IF (CurrentHour = 12) THEN GoLunch = 1 ELSE GoLunch = 0 ENDIF RETURN GoLunch |