>- see footer for list info -< Hi Paul, U can use MonthAsString function to return month. Here the example
<cfloop index="mth_des" from="1" to="12"> <br />#mth_des# - #MonthAsString(mth_des)# </cfloop> Hope its helpful Regards, Shaffiq ----- Original Message ---- From: Paul Swingewood <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, September 3, 2007 5:16:46 PM Subject: [CF-Dev] Date Loop >- see footer for list info -< Hi everyone. Is there a quick and easy way I can change this code so that the option comes back with the month as January, February, March etc ... rather than 1,2,3 ....? That is stored in MonthValue <cfoutput> <select name="SelectedMonth"> <cfloop index = "MonthValue" from = "1" to = "12"> <cfif #DatePart("m", GetGigDate.GigDate)# eq #MonthValue#> <option value="#MonthValue#" selected="selected">#MonthValue#</option> <cfelse> <option value="#MonthValue#">#MonthValue#</option> </cfif> </cfloop> </select> </cfoutput> Regards - Paul _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
