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.Code:QString s = QString(getenv("TZ"));
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?
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.Code:QString s = QString(getenv("TZ"));
eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6
yep that's ithowever 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?
I think that
describes when you should use DST and when not. I think it is something like this:Code:M4.5.5/12:0:0,M9.5.5/12:0:0
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?
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
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
![]()
yes yes that's exactly itthanks man