php default timezone
snippet in php

php default timezone

user9733

date_default_timezone_set("Asia/Kolkata");
// List of Supported Timezones https://www.php.net/manual/en/timezones.php

date_default_timezone_set india

user5785

date_default_timezone_set('Asia/Kolkata');
$timestamp = date("Y-m-d H:i:s");

change timezone in php

user7842


date_default_timezone_set(timezone)