Renaming function to addSecondsToDate