Quick Search:
 The Oracle ADD_MONTHS Function      [Return To Index] Jump to:  


The Oracle function ADD_MONTHS returns a date with a given number of months added that you specify.

Example Usage::

ADD_MONTHS ( startdate, n )

'startdate' is the starting date (before the 'n' months have been added).

'n' is the number of months to add to 'startdate'.

To add 4 months to the date '2010-05-10', do this:

ADD_MONTHS ('2010-05-10', 4)

Related Links:

Related Code Snippets:
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org