CMONTHN(<N month>)
Gets the character name of the month from a numeric month parameter.
Returns <expC> name of month, lowercase with initial capital.

Returns a null string "" if <month> is less than 1 or greater than 12.

Useful when working with numeric months instead of dates.

conception = DATE()
add_months = 9

due_month = ((MONTH(conception)-1 + add_months) %12) +1
* modulus is used to keep months within range of 1 to 12

? "Your baby is due in the month of " + CMONTHN(due_month)


Placed in the Public Domain by Tom Rettig Assoc.