Excerpt |
---|
When you want to set the default timezone used by all date/time functions, you can take one of |
...
two options: 1) put date_default_timezone_set() on your code, 2) put value in php.ini |
Option 1 - by code
You can set the default timezone by following function in the PHP
...