Re: convert DateTime to UTC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



John,

Unfortunately, no. The next version of .NET should rectify this with
the new TimeZone2 class. However, right now, you have to perform those
calculations manually.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"John Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
news:%23cU$suNcHHA.4312@xxxxxxxxxxxxxxxxxxxxxxx
Does the .NET framework provide a method, provided a TimeZone instance and
DateTime in that TimeZone, returns corresponding UTC DateTime ?

If so, does this method work in all cases ? Especially considering the
recent US DST changes.



.