Timezone lookup

混江龙づ霸主 提交于 2019-12-11 01:59:21

问题


I have a file that contains the following in a csv file;
country,region,city,postalCode,metroCode,areaCode

I need to find the time zone for the entries.

I have seen olson database and geonames, i was lost with olson database. couldnt find anything useful.

is there any web site i can access the time zone information based on country, region, city?

Thanks.


回答1:


I was able to query this.

http://www.earthtools.org/webservices.htm




回答2:


Did you have a look at this here...the timezone database is in the public domain.




回答3:


If you can geocode your address to a latitude/longitude pair, you can give those coordinates plus a datetime to DRT Engine and get back a timezone offset.



来源:https://stackoverflow.com/questions/2357030/timezone-lookup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!