> Can anyone explain to me why the following returns yes and not no..
>
> <cfset tmp = setlocale("English (UK)") >
> <cfset dt = LsisDate("01/19/2003") >
>
> 1/19 should be an invalid date for the specified locale?Its correct... "Like the IsDate function, LSIsDate returns TRUE if string can be converted to a date/time value in the current locale, FALSE otherwise." The string 'can' be converted. If you want to convert the date to the current locale you need to use: <cfset MyLocaleDate = LSParseDateTime(MyDate)> Taz -- ** 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]
