Sign in
I'm not a Klingon (
)
Shawn Steele's thoughts about Windows and .Net Framework globalization APIs
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
AppBar
Custom Cultures / Locales / CultureInfo
Dates & Times
eMail Address Internationalization
IDN (Internationalized Domain Names)
Klingon
Lego
Media Center
Pages
Sailing
Silverlight
sorting
System.Text
Unicode and Code Pages/Encodings
Windows Home Server
Browse by Tags
MSDN Blogs
>
I'm not a Klingon (
)
>
All Tags
>
dates & times
Tagged Content List
Blog Post:
Extending the Windows Japanese Calendar Era information.
Shawn Steele - MSFT
Some people have asked whether Windows supports new Japanese Calendar Emperor eras if that becomes necessary. FWIW That information is stored in the registry on Win7/Win8/.Net4.0+: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Calendars\Japanese\Eras There are string values for each...
on
15 Nov 2011
Blog Post:
Short Date Formats Don't Always Fit Neat Patterns
Shawn Steele - MSFT
I'm often asked something like "What's the date separator for locale XXX?" Well, not every locale fits our preconceived MM/dd/yyyy concepts. Some of the built-in values that developers may not expect: dd/MM yyyy -- 20/10 2010 -- This one has different separators (space and /) so you tell me which...
on
26 Oct 2010
Blog Post:
Japanese Calendars, How do I Test Support for Additional Eras?
Shawn Steele - MSFT
The Japanese Calendar is labeled by the reign of the current emporer. Windows has supported 4 Japanese calendar Eras, however in the future there may be more eras. Realizing this, we've added support in Windows 7, Server 2008R2 & .Net v4 for additional Japanese Eras. There're a few things applications...
on
24 Sep 2009
Blog Post:
DateTime.Parse() and DateTime.TryParse() fail in some cases
Shawn Steele - MSFT
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 culture without the user overrides as the format...
on
10 May 2007
Blog Post:
DateTime.Parse() fails when separator is " " (space) in .Net v2.0 RTM
Shawn Steele - MSFT
In Whidbey (Microsoft.Net v2.0), DateTime.Parse() throws an exception if the date separator is a space. This was fixed in future QFEs, including the Whidbey Vista release, so you'll only see this on XP, 2003, etc and not on Vista. This is fixed in future versions, so if you apply most any QFE to ...
on
19 Mar 2007
Blog Post:
How do I get localization in JScript (JavaScript) in IE7?
Shawn Steele - MSFT
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 of the data. VBScript has MonthName, WeekDayName...
on
5 Sep 2006
Blog Post:
ISO 8601 Week of Year format in Microsoft .Net
Shawn Steele - MSFT
Several people have noticed that Calendar.GetWeekOfYear() is almost like the ISO 8601 week when passed CalendarWeekRule.FirstFourDayWeek and DayOfWeek.Monday , however it is a little bit different. Specifically ISO 8601 always has 7 day weeks. If the first partial week of a year doesn't contain Thursday...
on
24 Jan 2006
Blog Post:
Custom Time Zones in Windows
Shawn Steele - MSFT
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 NT\CurrentVersion\Time...
on
20 Jan 2006
Page 1 of 1 (8 items)