Hi,
I am trying to create an application using the timezonelocationget() in PHP to retrieve the data of country code & latitude/longitude. I need the help of PHP developer who can suggest or provides online help references.
Thanks,
Hi,
Did you trying to get the data of specific country location. I herewith provide the example of timezonelocationget function PHP used for returning location information of the timezone.
Syntax for timezone location get function:
public array DateTimeZone::getLocation ( void )
Find the example of timezonelocationget() in PHP
<?php $tz = new DateTimeZone("India/Kolkata"); print_r($tz->getLocation()); ?>