GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
timezone API with DST concern  XML
Forum Index -> General
Author Message

Joined: 29/03/2016 10:49:00
Messages: 2

Hello Team,

I am using timezone API to get the dstoffset and gmtoffset. But i want to know that whether the timezoneId key which is available changes according to DST or not. For Example: "" this shows current timezoneId as "Europe/Vienna" for Austria country. As of now DST is applicable in Austria so this is the timeZoneId but once the DST is over does the timeZoneId gets Changed or remain the same thorughout the yes.

Hoping for postive and quick reply as soon as possible.


Joined: 08/12/2005 07:39:47
Messages: 4089

The timezomeId is referring to the iana timezone project ('Olson Timezone'). The DST rules per timezoneId are maintained in the iana tz project, which is included in most programming envs (like java).
Best is to google for the timezone support in your environment, if it is not natively supported there are for sure 3rd party libs for this.
All you then need is the timezoneId of a location and the lib will tell you where it is DST for particular date.

Best Regards


Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team