dates are calculated and persisted to the data base