changing the format of the date to give a more accurate time