GetUtcOffset returns wrong timezone
for some reason when i use the following code
TimeSpan timeDiffUtcServer = TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now);
it returns -07: 00: 00 offset
I am using Windows XP and my timezone is set to Pacific time -08: 00. I am running this through VS 2010 built into the IIS server that is on my computer, so I cannot figure out why the time discrepancy is.
Thanks!
+2
a source to share