LPS-50377 Use the variable HOUR_OF_DAY to obtain hours