note 87389 added to function.date-default-timezone-set

From: Date: Wed, 03 Dec 2008 07:13:13 +0000
Subject: note 87389 added to function.date-default-timezone-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-147579@lists.php.net to get a copy of this message
Timezone using other approaches: <?php $datetime = strtotime($originaldatetime) + $time; $datetime = date('M d, Y h:i A', $datetime);?> $time obtained from table below: -25200|International Date Line (West) GMT-12| -21600|Midway Island, Samoa GMT-11| -18000|Hawaii, Honolulu GMT-10| -14400|Alaska GMT-9| -10800|Pacific Standard Time, US, Canada GMT-8| -7200|British Columbia N.E., Santa Fe, Mountain Time GMT-7| -3600|Central America, Chicago, Guatamala, Mexico City GMT-6| 0|US, Canada, Bogota, Boston, New York GMT-5| +3600|Canada, Santiago, Atlantic Standard Time GMT-4| +7200|Brazilia, Buenos Aires, Georgetown, Greenland GMT-3| +10800|Mid-Atlantic GMT-2| +14400|Azores, Cape Verde Is., Western Africa Time GMT-1| +18000|London, Iceland, Ireland, Morocco, Portugal GMT| +21600|Amsterdam, Berlin, Bern, Madrid, Paris, Rome, GMT+1| +25200|Athens, Cairo, Cape Town, Finland, Greece, Israel GMT+2| +28800|Ankara, Aden, Baghdad, Beruit, Kuwait, Moscow GMT+3| +32400|Abu Dhabi, Baku, Kabul, Tehran, Tbilisi, Volgograd GMT+4| +36000|Calcutta, Colombo, Islamabad, Madras, New Dehli GMT+5| +39600|Almaty, Dhakar, Kathmandu, Colombo, Sri Lanka GMT+6| +43200|Bangkok, Hanoi, Jakarta, Phnom Penh, Australia GMT+7| +46800|Taipei, Beijing, Hong Kong, Singapore, GMT+8| +50400|Seoul, Tokyo, Central Australia GMT+9| +54000|Brisbane, Canberra, Guam, Melbourne, Sydney, GMT+10| +57600|Magadan, New Caledonia, Solomon Is. GMT+11| +61200|Auckland, Fiji, Kamchatka, Marshall, Wellington, GMT+12| ---- Server IP: 64.71.164.2 Probable Submitter: 150.135.92.38 ---- Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php Edit -- https://master.php.net/note/edit/87389 Del: integrated -- https://master.php.net/note/delete/87389/integrated Del: useless -- https://master.php.net/note/delete/87389/useless Del: bad code -- https://master.php.net/note/delete/87389/bad+code Del: spam -- https://master.php.net/note/delete/87389/spam Del: non-english -- https://master.php.net/note/delete/87389/non-english Del: in docs -- https://master.php.net/note/delete/87389/in+docs Del: other reasons-- https://master.php.net/note/delete/87389 Reject -- https://master.php.net/note/reject/87389 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#147579) next »