PHP timezone_open() Function

What is Time Zone Open Function?

Explanation

The "timezone_open()" function returns a new DateTimeZone object.

Syntax:


timezone_open( string $timezone )

The "timezone_open()" function returns a DateTimeZone object on success or else nothing.

Note :

(PHP 5 >= 5.1.0)

PHP Topics


Ask Questions

Ask Question