Alan Robbins [mailto:[EMAIL PROTECTED]] wrote:
> From the immediate Window, VB.NET: > > ? IsDate("('1','2','3')") > True > > ? CDate("('1','2','3')") > #1/2/2003# > > Locale &H408 Wow! Uhh... well unfortunately the code path for each of these goes through a native function: Microsoft.VisualBasic.CompilerServices.UnsafeNativeMethods::LCMapStringA. I'm guessing that somewhere in there they strip the parens and single quotes out leaving only the numeric chars which they then pass on to DateTime::Parse with the current culture. The only way to know for sure would be to do some native debugging. I've never seen a date string like that before. Out of curiousity, what result should one expect from such a format? Later, Drew [ .NET MVP | weblog: http://radio.weblogs.com/0104813/ ] You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.