Returns the name of the month from a given date or DateTime expression.
CMONTH(dExpression | tExpression) |
Parameters
- dExpression
- Specifies the date expression from which CMONTH(В ) returns the name of the month.
- tExpression
- Specifies the DateTime expression from which CMONTH(В ) returns the name of the month.
Return Value
Character
Remarks
Example
В | Copy Code |
---|---|
? CMONTH(DATE( )) STORE {^1998-02-16} TO gdDueDate ? 'Your payment was due in ', CMONTH(gdDueDate) STORE gdDueDate+60 TO gdFinalDate ? 'You must pay by ', CMONTH(gdFinalDate) |