Made the time into a date like it should be