Working for times in the same half of the day without considering am pm at all