Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate a date
Message
From
15/07/2006 12:01:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/07/2006 11:01:09
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01136539
Message ID:
01136685
Views:
9
>>Good, I think cultureinfo etc would take care of it. Otherwise what logic says that it's June or August? If I'm entering the date from a browser in Europe I'd naturally think it's June or 13/01/2000 is a valid date (actually I'd think like that if my settings are for Europe).
>
>Well, for two of my client Web applications presently, the application supports English, French, Spanish in Portuguese, where users are using that from the same location. In some situations, we have to provide the date format as per the user's choice also. The Universal Thread is one example. So, without controlling the date format, this is practically impossible to achieve.

I don't know exactly but with asp.net pages I tried it shows 06/08/07 as:
August 6,2007 when my settings are Turkish and June 8,2007 when settings are en-US (and Culture shows the correct one).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform