monthShortAsString

Returns the first three letters of the given month

monthShortAsString(monthnumber) → returns string

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

monthShortAsString Argument Reference

monthnumber numeric
Required

Examples
Sample code invoking the monthShortAsString function

Returns the string for the given month in short format. It supported in Lucee

getVal = monthShortAsString(3); 
 writeOutput(getVal);

Expected Result: Mar


Fork me on GitHub