Navigation:  Reference > Functions >

CharMonth()

Print this Topic Previous pageReturn to chapter overviewNext page

 

CMNTH(1)

 

PURPOSE

This function returns the character month of the year value (e.g., January, February, etc.) for a particular date.

 

PARTS

 

1 f/c/eThe date value to use, must be of D type.  If you do not specify a value here the function will use the current date.

 

RETURN TYPE - A

The function will return the name of the month.  If the receiving field is too small to hold the entire name only the portion that will fit will be returned.

 

SEE ALSO

CDOW()

 

EXAMPLE

define x type a size 15

define d type d size 8

d = ctod('09/30/00')

x = CMNTH(d)

// x = 'September'

 

 


Page url: http://www.cassoftware.com/tas/manual/charmonth().htm