How can I get the local server\'s timezone without relying on php.ini or other configuration files?
php.ini
I am looking for an output similar to the output of
you can get timezone of your server by this. echo date_default_timezone_get();