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


Syntax:        L_INWKDYS(<expD1>,<expD2>)


Purpose:       To determine the difference, in week days, between two
               dates.


Arguments:     <expD1> and <expD2> are two dates. They can be
               specified either lowest or highest date first.


Returns:       A positive integer.


Usage:         Accurately determines the number of week days between
               two dates.


Examples:      date1 =CTOD("01/05/89")
               date2 =CTOD("30/04/90")
               ? L_INWKDYS(date1,date2)         && Result: 260

               date1 =CTOD("01/05/89")
               date2 =CTOD("02/05/90")
               ? L_INWKDYS(date1,date2)         && Result: 262


Notes:         1.   Weekdays i.e. Monday through Friday.
               2.   This function is optimized for shorter time-spans
               between the two given dates. It is most efficient up to
               about three months separation.


Language:      Clipper

See Also: L_INY() L_INYM() L_INYMD() L_INFY() L_INMTHS()

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