Hi, can add Asia/Kota_Kinabalu GMT +8 to timezone?
Thank you.
Asia/Aden | Asia/Almaty | Asia/Amman | Asia/Anadyr |
Asia/Aqtau | Asia/Aqtobe | Asia/Ashgabat | Asia/Baghdad |
Asia/Bahrain | Asia/Baku | Asia/Bangkok | Asia/Barnaul |
Asia/Beirut | Asia/Bishkek | Asia/Brunei | Asia/Chita |
Asia/Choibalsan | Asia/Colombo | Asia/Damascus | Asia/Dhaka |
Asia/Dili | Asia/Dubai | Asia/Dushanbe | Asia/Gaza |
Asia/Hebron | Asia/Ho_Chi_Minh | Asia/Hong_Kong | Asia/Hovd |
Asia/Irkutsk | Asia/Jakarta | Asia/Jayapura | Asia/Jerusalem |
Asia/Kabul | Asia/Kamchatka | Asia/Karachi | Asia/Kathmandu |
Asia/Khandyga | Asia/Kolkata | Asia/Krasnoyarsk | Asia/Kuala_Lumpur |
Asia/Kuching | Asia/Kuwait | Asia/Macau | Asia/Magadan |
Asia/Makassar | Asia/Manila | Asia/Muscat | Asia/Nicosia |
Asia/Novokuznetsk | Asia/Novosibirsk | Asia/Omsk | Asia/Oral |
Asia/Phnom_Penh | Asia/Pontianak | Asia/Pyongyang | Asia/Qatar |
Asia/Qyzylorda | Asia/Rangoon | Asia/Riyadh | Asia/Sakhalin |
Asia/Samarkand | Asia/Seoul | Asia/Shanghai | Asia/Singapore |
Asia/Srednekolymsk | Asia/Taipei | Asia/Tashkent | Asia/Tbilisi |
Asia/Tehran | Asia/Thimphu | Asia/Tokyo | Asia/Tomsk |
Asia/Ulaanbaatar | Asia/Urumqi | Asia/Ust-Nera | Asia/Vientiane |
Asia/Vladivostok | Asia/Yakutsk | Asia/Yekaterinburg | Asia/Yerevan |
Hi, I see Asia/Makassar and Asia/Ujung_Pandang in the list. They're both the same city in South Sulawesi, Indonesia. in 2000, government officially renamed Ujung Pandang to Makassar. I havent check Asia/Ujung_Pandang yet, but both should return GMT+08 value.
Hello! Please change the time zone value for the "Asia / Vladivostok" to GMT + 11 to GMT + 10. And consequently, all time zones of the Russian Federation in connection with that after the recent changes, time zones are based on the value of Russia Moscow time GMT + 3. Thanks!
I've tested "Asia/Calcutta" as well as "Asia/Kolkata" on PHP 5.4.7 and both returns accurate results.
But I would suggest you to use "Asia/Kolkata" as "Calcutta" is now renamed to "Kolkata".
<?php
date_default_timezone_set("Asia/Kolkata");
echo date('d-m-Y H:i:s'); //Returns IST
?>
Asia/Kolkata was added in PHP 5.2.6
Asia/Calcutta was removed in PHP 5.3.0
http://3v4l.org/j1kGV
<?php
foreach(array("Asia/Calcutta", "Asia/Kolkata") as $tz) {
echo $tz,"=", (int)in_array($tz, timezone_identifiers_list()), "\n";
}
/*
Output for 5.3.0 - 5.6.0alpha1
Asia/Calcutta=0
Asia/Kolkata=1
Output for 5.2.6 - 5.2.17
Asia/Calcutta=1
Asia/Kolkata=1
Output for 5.2.0 - 5.2.5
Asia/Calcutta=1
Asia/Kolkata=0
*/