<cfset frenchMonths = ArrayNew(1)> <cfset frenchMonths[1] = "janvier"> <cfset frenchMonths[2] = "février"> <cfset frenchMonths[3] = "mars"> <cfset frenchMonths[4] = "avril"> <cfset frenchMonths[5] = "mai"> <cfset frenchMonths[6] = "juin"> <cfset frenchMonths[7] = "juillet"> <cfset frenchMonths[8] = "août"> <cfset frenchMonths[9] = "septembre"> <cfset frenchMonths[10] = "octobre"> <cfset frenchMonths[11] = "novembre"> <cfset frenchMonths[12] = "décembre">
<cfoutput>#frenchMonths[Month(yourDate)]#</cfoutput> Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Robertson-Ravo, Neil (REC)" <[EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" dexpo.com> <[EMAIL PROTECTED]> cc: 11/20/02 04:33 PM Subject: RE: [ cf-dev ] Day of Month in other Language Please respond to dev array or structure? do you have a quick example? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 16:33 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Day of Month in other Language use an array, unless there's some convertLanguage(string, language) function I haven't heard of. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Robertson-Ravo, Neil (REC)" <[EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> dexpo.com> cc: Subject: [ cf-dev ] Day of Month in other Language 11/20/02 04:25 PM Please respond to dev Whats the easiest way to output a day of the month in another language in ColdFusion 4. I am not sure this can done but I thought I would ask you guys. Basically I have a date of 20/November/2002. I want to output the day using the French word for November.... can this be done using CF? or am I going to have to create an array/structure to cross reference? Neil -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]