Answers for "change timezone php date function"

PHP
6

php default timezone

date_default_timezone_set("Asia/Kolkata");
// List of Supported Timezones https://www.php.net/manual/en/timezones.php
Posted by: Guest on May-18-2020
3

php change timezone

date_default_timezone_set('America/Los_Angeles');
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language