Tim - try: #MonthAsString(month)# --- there is no masking. If you really want to mask: #DateFormat(CreateDate(2002, month, 1), "MM")#
Mike Wokasch UW-Extension more coldfusion help Efnet #ColdFusion At 12:30 PM 10/18/2002 -0400, you wrote: >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

