Update to count hours of a day.