BulldogLowell:
Again, you can get the current UTC offset of your location. Naturally, that would include the adjustment for DST.
Really?
That wasn't the case in other APIs I've used, but if it is in this case, that is great as it makes the adjustment really simple.
Returning a UTC offset that includes the correct DST/summertime offset is a not an easy thing to do.
In order to do that there must be HUGE tables and somebody has to constantly adjust and correct them as keeping track of all the local time change rules around the world as well as the geographic boundaries involved for the exceptions is a VERY messy task as each local government entity is allowed to create its own rules that can differ from the offset for its longitude.
i.e. a single city or state can chose to not do DST or choose to have a different tz offset than its neighbouring entities at the same longitude.
Knowing the full geographic boundaries of that exception is messy and requires lots of data.
--- bill