Add “x” number of years to the current date using both the “code” and “design” methods, given below with related explanations:

bpmAppService.HelperServices.DateTimeService.CurrentDate.AddYears (input1);
input1: numeric value (int32)
Output: DateTime