Last Updated: Dec 28, 2022
Use this function to add years to the input date.
Add Years To Date (no_of_years, date_format, input_date)
Input Parameter Name | Description |
---|---|
no_of_years | Number of years to be added |
date_format | Date Format of the input_date parameter To know more about Date Format, click here. |
input_date | Date in string format |
Return value | Description |
---|---|
Date | Returns the modified date in the same format specified in date_format |
Add Years To Date (2, %d/%m/%Y, 28/03/2021)
To view all the Date functions, click here.