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


Syntax:        L_ISWKEND(<expD>)


Purpose:       To test whether a date falls on a Saturday or Sunday.


Arguments:     <expD> is a Clipper date.


Returns:       A logical (.T.) if the date falls on a Saturday or
               Sunday else returns a logical (.F.).


Usage:         In date based calculations and validation routines.


Examples:      ? L_ISWKEND(CTOD("01/01/89")     && Result: .T.
               ? L_ISWKEND(CTOD("03/01/89")     && Result: .F.


Language:      Clipper

See Also: L_WKDS()

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