Join Today
+ Reply to Thread
Results 1 to 7 of 7

Thread: GMT information

  1. #1

    Default GMT information

    Does anyone know where I can find the GMT information in the e680i? Which configuration file contains such information? It's not ezx_system.cfg as I looked there. Ultimately I would need some way to determine the universal time, any ideas?

  2. #2
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default Re: GMT information

    Code:
    QString s = QString(getenv("TZ"));
    In my phone the result is "GMT-7:0:0" (Indonesia). We can extract this info and make time calculation. GMT time = now - 7:0:0.
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  3. #3

    Default Re: GMT information

    yep that's it however here's the string i get:

    GMT-2:0:0GMT-3:0:0,M4.5.5/12:0:0,M9.5.5/12:0:0

    the phone is set to GMT+2 (cairo) and if i set it to other GMT values (+3 for example) and some country it's the shorter string u mentioned...does the longer string reflect daylight saving or what? coz i should use GMT-3 and not GMT-2 here in cairo at this time; what do u think?

  4. #4

    Default Re: GMT information

    I think that
    Code:
    M4.5.5/12:0:0,M9.5.5/12:0:0
    describes when you should use DST and when not. I think it is something like this:
    M4.5.5/12:0:0 = month 4, day 5, something else 5, time 12:00
    M9.5.5/12:0:0 just like above but month 9.

    Is this somehow similar to time period, when in your country DST is used?

  5. #5

    Default Re: GMT information

    Yes I guess the months, 4 and 9, relate correctly but not the other numbers. However I'm confused about one thing: it's supposed to be GMT-3 at month 4 and GMT-2 at month 9 (cause it's GMT+3 these days here in cairo), and not the other way around, which is how it looks with that string... I mean if I take the values respectively from that string, it'll be GMT-2:0:0GMT-3:0:0,M4.5.5/12:0:0,M9.5.5/12:0:0

    Or is it that I shouldn't be associating like this? Any ideas?

    By the way here's the exact DST values here in cairo:
    http://www.timeanddate.com/worldcloc...ange.html?n=53

  6. #6

    Default Re: GMT information

    I think that
    GMT-2:0:0GMT-3:0:0,M4.5.5/12:0:0,M9.5.5/12:0:0

    is parsed like this:
    Use GMT-2:0:0, but when date between M4.5.5/12:0:0 and M9.5.5/12:0:0 use GMT-3:0:0


  7. #7

    Default Re: GMT information

    yes yes that's exactly it thanks man


 
+ Reply to Thread

Similar Threads

  1. need information ...
    By vinayinfo in forum Indian Lounge
    Replies: 5
    Last Post: 02-11-2009, 04:50 AM
  2. need information ...
    By vinayinfo in forum E6 General Chat
    Replies: 15
    Last Post: 01-24-2009, 06:18 PM
  3. Help with Tower Information
    By Kingsford in forum E6 General Chat
    Replies: 0
    Last Post: 05-27-2007, 08:08 AM
  4. Seem Information
    By meocon in forum E680i General Chat
    Replies: 0
    Last Post: 11-17-2005, 10:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1