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


Syntax:        L_QUARTER(<expD>)


Purpose:       To find the quarter number for a given date.


Arguments:     <expD> is the date for which the quarter is to be
               determined.


Returns:       An integer with four possible values 1,2,3,4.


Usage:         For date based calculations.


Examples:      ? L_QUARTER(CTOD("01/04/88"))    && Result: 2
               ? L_QUARTER(CTOD("08/07/88"))    && Result: 3


Notes:         The quarter start dates are 01/01/yy, 01/04/yy,
               01/07/yy, 01/10/yy.


Language:      Clipper

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