old version, reparses the date to calculate