Peter
2008-04-03 18:13:52 UTC
I'm in GMT + 1 (+ 1 for saving daylight) and I'm having trouble getting this
number from the system somehow.
Which functions should I use and how to end up with the same data as can be
seen here:
http://www.timeanddate.com/worldclock/city.html?n=48
Basically I would like to get the number +2 because that's the difference
right now (because of daylight saving time)
But it should also work when there's no daylight saving time, e.g. in winter
I should get +1 on my system.
What function(s) (and how) do I use to get this information ?
number from the system somehow.
Which functions should I use and how to end up with the same data as can be
seen here:
http://www.timeanddate.com/worldclock/city.html?n=48
Basically I would like to get the number +2 because that's the difference
right now (because of daylight saving time)
But it should also work when there's no daylight saving time, e.g. in winter
I should get +1 on my system.
What function(s) (and how) do I use to get this information ?