add dateFunctions file