PHP date_default_timezone_get() function
Complete PHP Date Reference
Definition and Usage
The date_default_timezone_get() function returns the default timezone used by
all date/time functions in a script.
Syntax
date_default_timezone_get(void)
|
Parameter |
Description |
void |
Optional. |
Example
<?php
echo(date_default_timezone_get());
?>
|
The output of the code above will be:
Complete PHP Date Reference
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|