×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Expert
    Join Date
    Apr 2008
    Location
    Washington, DC USA
    Posts
    12

    Get local time and/or time zone?

    I'm working on a web app that displays local bus schedules for Washington, DC. I want to show information based on the current time. The schedules are in local time (Eastern Daylight, GMT-4), but the system time is always GMT, since it's coming from the proxy server.
    Is there a way of reading the local device time or timezone so that I can correct the system time? Without that feature, I will need to hard-code the time zone offset, including summer time corrections, and that will be ugly
    --Oren Levine
    Web developer portfolio manager, Nokia
    oren.levine@nokia.com

  2. #2
    Registered User
    Join Date
    Jun 2010
    Location
    Tampere, Finland
    Posts
    4

    Re: Get local time and/or time zone?

    There's no work-around for getting the device timezone. In this case where you know the client timezone (Washington GMT-4), I'd take the hard-coded route even it wouldn't be that elegant.

  3. #3
    Nokia Developer Expert
    Join Date
    Apr 2008
    Location
    Washington, DC USA
    Posts
    12

    Re: Get local time and/or time zone?

    That's what I assumed. I would propose this as a new feature for a future release. I am assuming that you can read the device time zone from Java programs; perhaps the browser can leverage that call for web apps.
    --Oren Levine
    Web developer portfolio manager, Nokia
    oren.levine@nokia.com

Similar Threads

  1. How to set time zone according to zone ID
    By sukriti.sym in forum Symbian
    Replies: 2
    Last Post: 2009-10-07, 05:52
  2. Replies: 3
    Last Post: 2009-09-25, 07:51
  3. Time Zone - Symbian or libc?
    By ganenko in forum Symbian
    Replies: 1
    Last Post: 2009-07-16, 11:01
  4. How to get time zone info in the handset
    By billqu in forum Symbian
    Replies: 1
    Last Post: 2005-12-11, 21:47
  5. SMS time stamp format with time zone parameter?
    By turunhe in forum General Messaging
    Replies: 1
    Last Post: 2002-06-11, 07:00

Posting Permissions

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