简体   繁体   English

从一个国家获取时区

[英]Get timezone from a country

Can anyone tel me how to get a timezone name from city and country name? 谁能告诉我如何从城市和国家名称获取时区名称? Any webservice link also will suffice my need.. 任何网络服务链接也足以满足我的需求..

For eg, Input : Bangalore, India 例如,输入:班加罗尔,印度

Output is : IST 输出为:IST

Thanks. 谢谢。

http://www.timeanddate.com/worldclock/search.html http://www.timeanddate.com/worldclock/search.html

Enter just the city name and it will give you all kinds of information, including the time zone. 只输入城市名称,它将为您提供各种信息,包括时区。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM