Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Dates & Tim... » Custom Cultures / Locales / CultureInfo   (RSS)
Sorry, but there are no more tags available to filter with.

DateTime.Parse() and DateTime.TryParse() fail in some cases

DateTime.Parse and DateTime.TryParse fail in .Net 2.0 if the user locale date override has a space in it. Ie: if its something like "M d yyyy". .Net is getting tripped up over the space (we're working on a fix for SP1/Orcas). A workaround is to pass the

How do I get localization in JScript (JavaScript) in IE7?

I ran into an interesting problem with a Vista sidebar calendar gadget. It seems that it is not exactly trivial to find out interesting NLS data like localized month names, first day of week, etc. from JScript. Eventually I found a workaround for some

Custom Time Zones in Windows

Someone asked about adding the "Olson" database of timezones to Windows, and I learned about tzedit.exe and the registry keys. Tzedit.exe is a simple tool that allows you to add or edit the time zone registry entries, which live in the registry at HKLM\Software\Microsoft\Windows
 
Page view tracker