×

Discussion Board

Results 1 to 3 of 3

Thread: GPS time

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Question GPS time

    I am trying to get the GPS time with part of code below:


    gps_time = gps_data['satellites']['time']
    ctime = gps_time + 25569
    timestamp = time.strftime("%d.%m.%Y %H:%M:%S", time.localtime(ctime))
    where: 25569 is an offset from UNIX time,
    my timezone is +8 gmt(solved by using time.localtime)

    However, the problem is the time i get is shift 1 hour back compared to my current time, anyone know how to fix it? thanks!

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: GPS time

    hello bean_ong

    if i remember properly this sort of problem has been discussed earlier.

    a extensive search at the dibo will certainly help you.

    Best Regards
    Gaba88

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: GPS time

    Thanks, i have tried search most related topics. But still i dint found any cases that same like me

Similar Threads

  1. [Announce] net, audio, time and GPS scripts
    By ilpo55 in forum Symbian
    Replies: 7
    Last Post: 2008-07-02, 16:36
  2. question about gps
    By silviuccia in forum Symbian
    Replies: 2
    Last Post: 2008-03-20, 09:57
  3. N73 firmware with BT GPS.
    By tonyhabayeb in forum Bluetooth Technology
    Replies: 2
    Last Post: 2007-08-19, 07:58
  4. Bizarre calendar/time zone change handling in Nokia 9500
    By noetus in forum General Development Questions
    Replies: 0
    Last Post: 2005-09-19, 19:27
  5. Nokia12 GPS
    By marko.vucetic in forum Nokia M2M
    Replies: 2
    Last Post: 2004-05-30, 23:49

Posting Permissions

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