Last Updated: Feb 14, 2022
Use this function to subtract the number of months from the given date.
Subtract Months From Date (no_of_months, input_date, date_format)
Input Parameter Name | Description |
---|---|
no_of_months | Number of months to be subtracted |
input_date | Date in string format |
date_format | Date Format of the input_date parameter To know more about Date Format, click here. |
Return value | Description |
---|---|
Date | Returns the modified date in the same format specified in date_format |
Subtract Months From Date (2, 28/03/2021, %d/%m/%Y)
To view all the Date functions, click here.