Update date in timer when the date changes.