Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_addday()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_ADDDAY()


Syntax:        L_ADDDAY(<expD>,<expN>)


Purpose:       To add or subtract days to or from the given date.


Arguments:     <expD> is the date to be altered.

                <expN> is the number of days by which the date is to be
                changed. This can be a positive or negative number.


Returns:       A Clipper date.


Usage:         To alter a given date.


Examples:      date_var = CTOD("01/01/89")
                ? L_ADDDAY(date_var,7)       && Result: 08/01/89
                ? L_ADDDAY(date_var,-7)      && Result: 25/12/88


Language:      Clipper

See Also: L_ADDMONTH() L_SUBMONTH() L_ADDYEAR()

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