now deals with 24 hours in date