Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 379 | All time: 6,723 This week: 106![]() |
Version | License | PHP version | Categories | |||
time-zone-mapper 1.0.1 | MIT/X Consortium ... | 5 | PHP 5, Time and Date, Geography |
Collaborate with this project | Author | |||||||||||||||||||||||||
TimezoneMapperPHP - github.com Description This class can get the time zone for a given latitude and longitude. Innovation Award
|
|
Given a latitude and a longitude of a location, this program will return the timezone string.
This is the PHP version of the end product of: https://github.com/drtimcooper/LatLongToTimezone
It is released under the same license (MIT).
<?php
include 'TimezoneMapper.php';
$london = ['lat' => 51.504380, 'lng' => -0.127727];
echo TimezoneMapper::latLngToTimezoneString($london['lat'], $london['lng']);
//outputs: Europe/London
![]() |
File | Role | Description |
---|---|---|
![]() ![]() |
Lic. | License |
![]() ![]() |
Doc. | Documentation |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.