X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

PHP timezone_location_get() Function

PHP Date/Time PHP Date/Time Reference

Example

Return location information for the given timezone:

<?php
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>

Run example »

Definition and Usage

The timezone_location_get() returns location information for the given timezone.


Syntax

timezone_location_get(object);

Parameter Description
object Required. Specifies a DateTimeZone object returned by timezone_open()

Technical Details

Return Value: Returns an array that contains location information for the timezone
PHP Version: 5.3+


PHP Date/Time PHP Date/Time Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook