Get the default timezone in PHP
Description
The following code shows how to get the default timezone.
Example
<?php
echo date_default_timezone_get();
?>
The code above generates the following result.
The following code shows how to get the default timezone.
<?php
echo date_default_timezone_get();
?>
The code above generates the following result.