CT_NToCMonth

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 Clipper compiler.  With an English version of Clipper, only
     English day names are returned.

 Example

     An English Clipper returns:

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

See Also: CToMonth()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.