Tim Laureska writes: > OK... I was just trying to convert the month number (ex 10 for October) > into Oct instead of October >
I think Raymond posted the answer to that...but in case you missed it... <cfset month = 10> <cfoutput>#left(monthAsString(month), 3)#</cfoutput> charlie > -----Original Message----- > From: Randell B Adkins [mailto:AdkinsR@;GAO.GOV] > Sent: Friday, October 18, 2002 1:10 PM > To: CF-Talk > Subject: Re: formatting #MonthasString > > if the field: MONTH is numeric and you want the actual String: > > #MonthAsString(month)# > > > --- MonthAsString only takes 1 parameter. > > > >>>> [EMAIL PROTECTED] 10/18/02 12:30PM >>> > 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

