Time Zone Raw Offset & Current Offset

Nov 17, 2009 at 1:10 PM


I played with the api. Its cool. I need two offset, Raw Offset & Current Offset.

I use GetUtcOffset(DateTime dt) method to get the actual offset at the dt. But i want to know the orginal offset for that zone.

For Eg: if the zone is America/New_York and if the dt is during the DST period the CurrentOffset is -4:00 and Raw Offset is -5:00

Is there any work around to calculate the Raw Offset???

Thanks in advance.



Nov 18, 2009 at 12:06 AM

Hi Pradeep86. Er.. i'm not sure I really understand _why_ you want to do that, etc.. which means i don't really understand how to help.

But all is not lost! goto http://www.stackoverflow.com and ask your question there. There's plenty of smarter people than I who can help. Make sure you explain what you're trying to do (like above) and that you're using this code and maybe someone else can see what's going on.

Good Luck!