No, you can't specify formatting within the MonthAsString() function.
Instead, you might consider using DateFormat() as in:
<CFSET month = 10>
<CFSET myDate = CreateDate(Year(Now()), month, Day(Now()))>
<CFOUTPUT>#DateFormat(myDate, "mmm")#</CFOUTPUT>
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -----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
Get the mailserver that powers this list at http://www.coolfusion.com