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 Tools . Books 1-3 - <b>ntocmonth()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NTOCMONTH()
 Changes the number of a month into a month name
------------------------------------------------------------------------------
 Syntax

     NTOCMONTH(<nMonth>) --> cMonth

 Argument

     <nMonth>  Designates a month number for which a month name is returned.

 Returns

     NTOCMONTH() returns the name that corresponds to the month number.

 Description

     NTOCMONTH() determines the month name that corresponds to its month
     number.  January is 1, February is 2, ..., December is 12.  If a number
     outside this range is passed, the function returns a null string as a
     value.

 Note

     The function's operation depends on the country specific adaptation of
     your CA-Clipper compiler.  With an English version of CA-Clipper, only
     English day names are returned.

 Example

     An English CA-Clipper returns:

     ? NTOCMONTH(1)         //"January"
     ? NTOCMONTH(2)         //"February"
     ? NTOCMONTH(12)        //"December"
     ? NTOCMONTH(14)        //""


See Also: CTOMONTH()

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