split out date and time stuff into separate files