LPS-41820 Use the variable HOUR_OF_DAY to obtain hours