DateTimeZone::getLocationtimezone_location_getReturns location information for a timezone BeschreibungObjektorientierter Stil
public array DateTimeZone::getLocation
( void
)
Prozeduraler Stil
array timezone_location_get
( DateTimeZone
$object
)Returns location information for a timezone, including country code, latitude/longitude and comments. Parameter-Liste
RückgabewerteArray containing location information about timezone. Beispiele
Beispiel #1 DateTimeZone::getLocation example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
Array
(
[country_code] => CZ
[latitude] => 50.08333
[longitude] => 14.43333
[comments] =>
)
Array
(
[country_code] => CZ
[latitude] => 50.08333
[longitude] => 14.43333
[comments] =>
)
|