Description
The Hour$
function returns the current hour as a two-character string.
Syntax
a$ = Hour$()
Return Value
a$
, the hour number returned as a string; if the current hour is less than 10, a leading 0 is included. a$
is always two characters long.
Example
msgbox(Hour$())