hour¶ Syntax¶ hour() Description¶ The integer of the current hour of the simulation day in 24-hour format, with a range of 0-23. Examples¶ If the simulation is at the first hour of a given day, then x = hour() assigns 0 to a numeric variable x. See Also¶ date datetime_add day_of_month day_of_week day_of_year days end_date epi_week epi_year hour is_date_in_range month start_date today year