Browse by Tags
All Tags »
DateTime and TimeZone2 (RSS)
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...
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...
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...
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...
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...
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...
"I see stuff like "zz" passed into DateTime.ToString(). What exactly does that do?" -- Very Confused DateTime String Formatter DateTime has its own set format string modifiers because there are so many ways to display a date and time. There are 2 things
Read More...
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 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...
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...
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: 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...
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...