monthAsString

monthAsString(month_number [, locale]) → returns string

Argument Reference

month_number numeric
Required

locale string

Examples
Sample code invoking the monthAsString function

getVal = monthAsString(11); 
 writeDump(getVal);

Expected Result: result is: November

With locale

getVal = monthAsString(6,"DE"); 
 writeDump(getVal);

Expected Result: result is: Juni

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub