从纬度和经度获取PHP时区名称?
发布时间:2020-05-25 09:55:51 所属栏目:PHP 来源:互联网
导读:参见英文答案 How to get a time zone from a location using latitude and longitude coordinates?13个 有没有办法通过经纬度获取用户的时区?而不仅仅是偏移,而是实际的时区. 本质上,我正在寻找DateTimeZone :: getLocation
|
参见英文答案 >
How to get a time zone from a location using latitude and longitude coordinates?13个
本质上,我正在寻找DateTimeZone :: getLocation的极对面,它返回某个时区的纬度和经度. 地名应该做得很好:http://www.geonames.org/ 他们还有一个php库. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
