Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfaddyear()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfAddYear()
Add a year to a date
------------------------------------------------------------------------------
Syntax:

     dfAddYear( <dDate>, <nYear> ) --> dNewDate

Parameters:

     <dDate>    Date to change
     <nYear>    Number or years to add. This number can be positive or
     negative

Returns:

     <dNewDate> New date

Description:

     Add a year to a date

Example:

     dfAddYear( DATE(), 3 ) // Current date
                       // plus 3 years

See also:

     dfAddMonth(), dfDate()

See Also: dfAddMonth() dfDate()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson