AnyLogic
Expand
Font size

getHourOfDay

getHourOfDay()

Description
Returns the hour of day of the current model date with respect to the start time/date and the model time unit.
This function is used for the 24-hour clock.
E.g., at 10:04:15.250 PM the result is 22.
Result
Type Description
int The hour of day of the current model date with respect to the start time/date and the model time unit.
How can we improve this article?