Completed logic for todays hours