Move the date/time code to a new file