Re: convert DateTime to UTC
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 14:06:23 -0400
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.
.
- References:
- convert DateTime to UTC
- From: John Grandy
- convert DateTime to UTC
- Prev by Date: Re: What Impact Do Static HashTables and Classes have on the CPU?
- Next by Date: Re: Access web page without IEXPLORE.EXE
- Previous by thread: convert DateTime to UTC
- Next by thread: RE: Legacy COM using ComInterfaceType and Recordsets
- Index(es):