.NET 3.5 - difference of time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bim-bom

    #1

    .NET 3.5 - difference of time

    Hi,
    I wanted to count the difference between my current time zone and New
    York time. How to do it (I don't want to hardcode it)? I see that there
    is a TimeZoneInfo class, but I don't know how to get a TimeZoneInfo for
    NY time.

    Julek
  • =?UTF-8?B?QXJuZSBWYWpow7hq?=

    #2
    Re: .NET 3.5 - difference of time

    bim-bom wrote:
    I wanted to count the difference between my current time zone and New
    York time. How to do it (I don't want to hardcode it)? I see that there
    is a TimeZoneInfo class, but I don't know how to get a TimeZoneInfo for
    NY time.
    TimeZoneInfo.Fi ndSystemTimeZon eById("Eastern Standard Time");

    will find New York.

    Arne

    Comment

    Working...