Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - quarter(<expd>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 QUARTER(<expD>)
 Computes the quarter of the year in which <expD> falls.
 Returns <expN> quarter of the year corresponding to <expD>.

 Returns    Dates between
 -------    --------------
    1       01/01 -- 03/31
    2       04/01 -- 06/30
    3       07/01 -- 09/30
    4       10/01 -- 12/31

 m_quarter = QUARTER( DATE() )
 IF m_quarter = 1
    <DO end-of-year processing>
 ENDIF


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: BOQTR() EOQTR() LASTDAY()

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