24hr start and end date fix