HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Date/Time Reference : Return the default timezone
The date_default_timezone_get() function returns the default timezone used by all date/time functions in the script.
Return Value: | Returns the timezone as a string |
---|---|
PHP Version: | 5.1+ |
PHP Changelog: | PHP 5.4: The TZ variable is no longer used to guess the timezone |
❮ PHP Date/Time Reference