Answers for "php time zones"

PHP
4

php pakistan time zone

Asia/Karachi
Posted by: Guest on December-24-2020
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
1

how to get the list of available timezones in php

//To Get the list of timezones available in php
//use the static function listIdentifiers() on DateTimeZone class
$list = DateTimeZone::listIdentifiers();
print_r($list)
Posted by: Guest on April-25-2020

Browse Popular Code Answers by Language