Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>cmonth()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CMONTH()
 Convert a date to a character month name
------------------------------------------------------------------------------
 Syntax

     CMONTH(<dDate>) --> cMonth

 Arguments

     <dDate> is the date value to convert.

 Returns

     CMONTH() returns the name of the month as a character string from a date
     value with the first letter uppercase and the rest of the string
     lowercase.  For a null date value, CMONTH() returns a null string ("").

 Description

     CMONTH() is a date conversion function useful for creating formatted
     date strings that can be used in reports, labels, or screens.

 Examples

     .  These examples illustrate CMONTH():

        ? CMONTH(DATE())                     // Result: September
        ? CMONTH(DATE() + 45)                // Result: October
        ? CMONTH(CTOD("12/01/94"))           // Result: December
        ? SUBSTR(CMONTH(DATE()), 1, 3) +;
           STR(DAY(DATE()))                  // Result: Sep 1

 Files   Library is CLIPPER.LIB.


See Also: CDOW() DATE() DAY() MONTH() YEAR()

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