CMonth function

Official Content
This documentation is valid for:

Returns the name of the month for the given date in the selected language. If no language is specified, the one selected in the Model Properties is used.

The value 'spaces' is returned if the received parameter is null.

Syntax

CMonth(Date-Expression | Datetime-Expression [,Language])

Type Returned:
Character(9)

Where:
Language must be one of the following:

spa - Spanish
eng - English
por - Portuguese
ita - Italian
chs - Simplified Chinese
cht - Traditional Chinese
jap - Japanese

Examples

CMONTH(CTOD('01/01/2013')) // 'Enero' if Spanish is set as the default language.
CMONTH(CTOD('01/01/2013'), 'por') // Janeiro
CMONTH(CTOD('01/01/2013'), 'eng') // January

Scope

Objects   Procedure object, Transaction object, Web Panel object
 

See also

MonthName method
CDoW function





Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.