Answers for "php how to know the timezone"

PHP
1

php get timezone

echo date_default_timezone_get(); //UTC

//Read more at https://www.php.net/manual/en/function.date-default-timezone-get.php
Posted by: Guest on July-15-2020

Code answers related to "php how to know the timezone"

Browse Popular Code Answers by Language