adding a function to check early/late hours to show in the schedulle