[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson