×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    13

    How to get UTC offset for New York? TLocale?

    Hello, All,

    Does anyone know, if it is possible to get programmatically New York's UTC (GMT) offset? (it should be -04:00 on summer, and -05:00 on winter). Assuming that timezone set on device is not the "New York", it may be different. But the time is always correct for selected time zone?
    What is the best and right way to do this? Per my investigation, TLocale may help but I don't understand how to do this correctly.

    Thanks a lot in advance,
    Michael

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to get UTC offset for New York? TLocale?

    have you tried simply using TTime, and checking the difference between HomeTime and UniversalTime already ?

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: How to get UTC offset for New York? TLocale?

    There is an API set for managing time zones, check RTz, CTzConverter and of course any other interesting class you find when searching for these.

Similar Threads

  1. Any J2ME developers on Long Island, New York looking for work?
    By rhulslan in forum Mobile Java General
    Replies: 4
    Last Post: 2010-04-01, 05:10
  2. TTime and TLocale
    By ArneH in forum Symbian
    Replies: 5
    Last Post: 2004-12-07, 07:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×