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


Syntax:        L_BOFW(<expD>)


Purpose:       To generate the date of the Monday preceding the given
               date.


Arguments:     <expD> is the date from which the preceding Monday will
               be determined.


Returns:       A Clipper date.


Usage:         To find the start date of the week for a given date.


Examples:      date_var = CTOD("01/01/89")         && Sunday
               ? L_BOFW(date_var)                  && Result: 26/12/88

               date_var = CTOD("03/01/89")         && Tuesday
               ? L_BOFW(date_var)                  && Result: 02/01/89


Notes:         If a Monday is specified, then the preceding Monday
               will be returned.


Language:      Clipper

See Also: L_EOFW()

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