You could just create a small array.

monthAsString[1]= "Jan"
monthAsString[2]= "Feb"
etc..

I guess the reason there is not prefab-format option is for Months like
"June" and "April". Not really a common 3 letter abbrv. for short month
names.


Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-----Original Message-----
From: Timothy Heald [mailto:healdt@;dsmail.state.gov] 
Sent: Friday, October 18, 2002 1:51 PM
To: CF-Talk
Subject: RE: formatting #MonthasString

I would make a full date, then use date format to get the result I
wanted in this case, either that or use string functions like left to
get what you want.

Tim

-----Original Message-----
From: Tim Laureska [mailto:hometeam@;goeaston.net]
Sent: Friday, October 18, 2002 12:30 PM
To: CF-Talk
Subject: formatting #MonthasString


Is there a way to format a number value retrieved for a month (ex 10 for
the month of October) with the #monthasString# function. say to the ?
 
I tried #MonthasString(month, "MM")#   but it throws an error
(note:month is the field name)
 
Tim 
 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to