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


Syntax:        L_EOFW(<expD>)


Purpose:       To determine the date of the Friday following the given
               date.


Arguments:     <expD> is the date from which the following Friday will
               be determined.


Returns:       A Clipper date.


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


Examples:      date_var = CTOD("01/01/89")      && Sunday
               ? L_EOFW(date_var)               && Result: 06/01/89

               date_var = CTOD("12/01/89")          && Thursday
               ? L_BOFW(date_var)               && Result: 13/01/89


Notes:         If the given date is a Friday, then the following
               Friday is returned.


Language:      Clipper

See Also: L_BOFW() L_LASTDAY()

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