added new case for start and end date are the same and endtime is 00