Calculate date recurrence