change time to 12:00 AM if 00:00 AM is entered