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_wkds()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_WKDS()


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


Purpose:       To add or subtract non-weekend days to or from a date.


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

               <expN> is the number of working days to be added to or
               subtracted from the given date.


Returns:       A Clipper date.


Usage:         In date based calculations.


Examples:      ? L_WKDS(CTOD("01/01/89"),2)
               * Sunday plus two days = 03/01/89 Tuesday

               ? L_WKDS(CTOD("05/01/89"),-2)
               * Thursday minus two days = 03/01/89 Tuesday


Language:      Clipper

See Also: L_ADDDAY()

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