PHP date_default_timezone_get() Function
What is a Date Default Timezone Get Function?
Explanation
The "date_default_timezone_get()" function is used to get the default timezones used by the date/time functions.
Syntax:
date_default_timezone_get(void)
The value is optional for the parameter "void".
Example :
<?php
echo(date_default_timezone_get());
?>
Result :
Europe/Paris
In the above example the function will display the default timezone, for a particular location.
Note :
(PHP 5 >= 5.2.0)