...
Promise<DateTimeOffset> Calendar.AddYearsAsync(datedateTime: DateTimeOffset, years: number)
Arguments
DateTimeOffset dateTime
Specifies the base date time value.
number years
Specifies the how many years will be added to dateTime parameter.
...
...
Promise<DateTimeOffset> Calendar.AddYearsAsync(datedateTime: DateTimeOffset, years: number)
...