How can I get the local server's timezone without relying on php.ini
or other configuration files?
I am looking for an output similar to the output of date('e')
. eg. "UTC", "GMT", or "Atlantic/Azores".
I need to know this so that I may know the MySQL timezone.
See Question&Answers more detail:os