Answers for "php how to get 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

Browse Popular Code Answers by Language