Add Year
Adds additional years to the original date.
Inputs
- From date
- A String object that represents the original date.
- Date format
- A String object that represents the date's format.
- Year to add
- An integer that specifies the number of years to add to the
original date.
Output
A String object that contains the updated date.
