Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>quarter()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
QUARTER()

Syntax:     QUARTER([<expD>])

Arguments:  <expD> calculates which quarter the date is in.

Returns:    A numeric value.
            The quarter containing the date is returned as a number.

Usage:      QUARTER() can be used to determine the quarter of the
            year containing the <expD> date.

Notes:      The function  will default to the system date if no date
            argument is passed.  A zero will return the result 0.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   ? "We supply in the " + QUARTER(CTOD("07/12/1989"));
              " quarter 1989."



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