Skip to content

CMONTH ​

Returns the name of the month from the specified date expression.

Reporting Area(s) ​

General

Required Parameters ​

  1. Date field (i.e. cobegdate,coenddate)

--OR--Date Expression (i.e. [09/01/2002)]

--OR--DATE() function (which returns current date)

Optional Parameters ​

None

Example(s) ​

CMONTH(cobegdate) returns the name of the month for the course begin date (i.e. April if the course begins in April)

CMONTH(DATE()) returns the name of the month for the current date (i.e. January if the current month is January)

Notes ​

Standard FoxPro function

CERTDATE
DATE
DATETH
DTOC
TRIMDATE
NICEDATE
MONTH
YEAR