Created
April 3, 2015 19:03
-
-
Save anonymous/b6963465485f5fc114a2 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
function monthAbbrAsInt(required string input) { | |
var dte = input & " 1, 2000"; | |
return dateFormat(dte, "m"); | |
} | |
writedump(monthAbbrAsInt("jul")); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment