Datetime.Hour

Parent Previous Next

Datetime.Hour.

Returns the hour as a value between 0 and 23.


Syntax.


 Hour() : Integer

 


Example:


 Datetime dtNow.SetNow();

 Integer hour := dtNow.Hour();