Answers for "get local system timezone php"

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
1

php get current datetime mysql format

date('Y-m-d H:i:s');
Posted by: Guest on April-22-2020

Browse Popular Code Answers by Language