Welcome to MSDN Blogs Sign in | Join | Help

Kathy Kam

Reflection on the CLR and .NET

August 2006 - Posts

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...
Page view tracker