Add Months Function
Add Months Function
Syntax
The syntax for the ADD_MONTHS function is: ADD_MONTHS( date1, n ) date1 is the starting date (before the n months have been added). n is the number of months to add to date1.
Applies To
For Example
The ADD_MONTHS function can be used in Oracle/PLSQL. For example: ADD_MONTHS('01-Aug-03', 3) ADD_MONTHS('01-Aug-03', -3) ADD_MONTHS('21-Aug-03', -3) ADD_MONTHS('31-Jan-03', 1) would return '01-Nov-03' would return '01-May-03' would return '21-May-03' would return '28-Feb-03'