Yes the problem is Microsoft and secondly CF not realising the problem before releasing 5.
One solution we found was to change the registry entry for the data locale setting so that it is fixed for dd/mm/yyyy. I think it was shortdate. Unfortunately, the guy who did it is not around right now. Paolo -----Original Message----- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 12 February 2003 16:43 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] date locale question Hi, All i really want to do is check that a date is a valid *uk* date. Kola >> -----Original Message----- >> From: Snake [mailto:[EMAIL PROTECTED]] >> Sent: 12 February 2003 16:09 >> To: [EMAIL PROTECTED] >> Subject: RE: [ cf-dev ] date locale question >> >> What exactly do you need them for, I have never really found a use for >> it. >> If a user is in a different timezone, i get them to select this and >> calculate the difference from server time. Or I grab the time from their >> machine via Javascript. >> >> -----Original Message----- >> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] >> Sent: 12 February 2003 16:17 >> To: [EMAIL PROTECTED] >> Subject: RE: [ cf-dev ] date locale question >> >> >> Anyone got a healthy replacement? >> >> Kola >> >> >> -----Original Message----- >> >> From: Snake [mailto:[EMAIL PROTECTED]] >> >> Sent: 12 February 2003 16:00 >> >> To: [EMAIL PROTECTED] >> >> Subject: RE: [ cf-dev ] date locale question >> >> >> >> Don't use any of the locale specific date functions, they are buggy >> as >> >> hell, >> >> mainly due to windows but there you go >> >> >> >> >> >> -----Original Message----- >> >> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] >> >> Sent: 12 February 2003 15:23 >> >> To: [EMAIL PROTECTED] >> >> Subject: RE: [ cf-dev ] date locale question >> >> >> >> >> >> Go on rub it in! >> >> >> >> >> >> Taz, thanks so LSisDate determines if it can be converted into a date >> >> but not whether it's a valid date! >> >> >> >> Oh well of to cflib..... >> >> >> >> >> >> Thanks >> >> >> >> Kola >> >> >> >> >> -----Original Message----- >> >> >> From: Christopher Dawes >> [mailto:[EMAIL PROTECTED]] >> >> >> Sent: 12 February 2003 14:41 >> >> >> To: Kola Oyedeji >> >> >> Subject: Re: [ cf-dev ] date locale question >> >> >> >> >> >> Hello Kola, >> >> >> >> >> >> You're using CF 5.x or earlier aren't you...hehe... >> >> >> >> >> >> Kind Regards, >> >> >> Christopher Dawes >> >> >> Dawes International >> >> >> >> >> >> Thursday, February 13, 2003, 1:36:23 AM, you wrote: >> >> >> >> >> >> >> >> >> KO> Hi >> >> >> >> >> >> KO> Can anyone explain to me why the following returns yes and not >> >> no.. >> >> >> >> >> >> KO> <cfset tmp = setlocale("English (UK)") > >> >> >> KO> <cfset dt = LsisDate("01/19/2003") > >> >> >> >> >> >> KO> 1/19 should be an invalid date for the specified locale? >> >> >> >> >> >> KO> Thanks >> >> >> >> >> >> KO> Kola >> >> >> >> >> >> >> >> >> -- >> >> >> ** 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] >> >> >> -- >> ** 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]
