Welcome to MSDN Blogs Sign in | Join | Help

Kathy Kam

Reflection on the CLR and .NET

Browse by Tags

All Tags » DateTime and TimeZone2   (RSS)
CurrentCulture, CurrentUICulture and DateTime strings
There are a lot of blogs out that that tries to explain which is what, and why it is the way it is. To those of you who just want to know what the results are. I wrote a quick little app to show what happens. As you can see, DateTime.ToString() formatting Read More...
Bye bye "System.TimeZone2", Hello "System.TimeZoneInfo"
Did I catch your attention? I know I haven't posted anything interesting in a while. I am currently working on a project that is unannouced. However, I want to let everyone know that in Orcas Beta1 , that will be release in a few months, the BCL team Read More...
Orcas October CTP available - Hello, "System.DateTimeOffset"!
Once again, I am very excited that the new CTP is available. :) My second feature for Orcas is available to the world! The BCL team has gotten plenty of feedback (as you can see the comments from my BCL post and on this blog...) about needing an object Read More...
Designing System.TimeZone2 - Part 2 (Dynamic Time Zone support)
There are some great discussion on the differences between System.TimeZone and System.TimeZone2 and what exactly is Vista Dynamic Time Zone in my previous post. So I thought I'll spend Part 2 talking about it. So what exactly is the difference? I have Read More...
Designing System.TimeZone2 - Part 1 (API naming and new class or not)
Didn't I say it two weeks ago that API naming is the most difficult thing? :) My BCL post on System.TimeZone2 has been out for about 12 hours, and the top complaint has been .... can you guess it... yes... the name! You might even think that I knew this Read More...
System.TimeZone2 Starter Guide is now posted!
I have posted my starter guide on the BCL team blog ! I'll post a follow up and advance usage guide here in this blog. Check back for it :) http://blogs.msdn.com/bclteam/archive/2006/10/03/System.TimeZone2-Starter-Guide-_5B00_Kathy-Kam_5D00_.aspx Check Read More...
.NET Format String 102: DateTime Format String
.NET VB C# Visual Studio DateTime FormatString Read More...
Time Zones available in Window XP/Vista sorted by GMT Offset
Time Zone Ids Offset Location Central Europe Standard Time +01:00 Belgrade, Bratislava, Budapest, Ljubljana, Prague Central European Standard Time +01:00 Sarajevo, Skopje, Warsaw, Zagreb Romance Standard Time +01:00 Brussels, Copenhagen, Madrid, Paris Read More...
Time zones available in Windows XP and Vista sorted by Time Zone Ids
Time Zone Ids Offset Location Afghanistan Standard Time +04:30 Kabul Alaskan Standard Time -09:00 Alaska Arab Standard Time +03:00 Kuwait, Riyadh Arabian Standard Time +04:00 Abu Dhabi, Muscat Arabic Standard Time +03:00 Baghdad Atlantic Standard Time Read More...
Orcas September CTP available... Hello "System.TimeZone2"!
I am so excited that the CTP is finally available! As soon as you crack open the bits, you'll find what I have been working months on! Can you guess what it is??? NET Framework improvements such as: New managed add-in model enables developers to add a Read More...
Is modifying System.DateTime reasonable for a Time Zone/Offset aware DateTime object?
So, in my previous " Designing Time Zone Conversion " post, a few readers asked whether we can update System.DateTime to understand Time Zones. Before we look into whether we can update DateTime, we should look into how this "improved" DateTime should Read More...
Answer of the month: IsDaylightSavingTime() or not?
Answer: static DateTime GetAnswer() { DateTime utc = new DateTime (2006, 10, 29, 8, 30, 0, DateTimeKind .Utc); return utc.ToLocalTime(); } Explaination: The main "trick" in this question is that the DateTime I want actually lands in the ambiguous hour Read More...
Quiz of the Month: IsDaylightSavingTime() or not?
Question: Given your machine is in Pacific Time (PST) Time Zone, what is MainProgram.GetAnswer so that MainProgram.Test returns true? class MainProgram { static DateTime GetAnswer() { ???? } static bool Test() { DateTime a = MainProgram .GetAnswer(); Read More...
Page view tracker