Calculate credit card years dynamically