update time to 24hrs