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


Syntax:     MONTH(<expD>)

Purpose:    To convert a date value to a number representing the month
            of the year.

Argument:   <expD> is a date value to convert.

Returns:    An integer numeric value.

            MONTH() returns a number in the range of zero to 12.
            Specifying a null date returns zero.

Usage:      MONTH() is useful when you require a numeric month value
            during calculations for such things as periodic reports.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   ? DATE()                      && Result: 09/01/87
   ? MONTH(DATE())               && Result: 9
   ? MONTH(DATE()) + 1           && Result: 10


See Also: CMONTH() DAY() DOW() YEAR()

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