Returns a numeric value representing the time in 24-hour format.
DateTime-expression.Hour()
Type Returned:
Numeric(2)
Objects: Procedure, Transaction, Web Panel, Work Panel
Generators:
.NET, .NET Framework,
Java, Cobol, RPG, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
When given a DateTime argument, this method returns a numeric value representing the time in 24-hour format.
If &HappyTime.Hour() > 20
&TxtHour = "Is the After-eight time!"
EndIf
TimeZone Support - General Considerations
Hour function
Minute method
Second method