jordanwb Posted November 17, 2009 Share Posted November 17, 2009 On this page: http://ca2.php.net/manual/en/datetimezone.listidentifiers.php there is the following code snippit: <?php $timezone_identifiers = DateTimeZone::listIdentifiers(); for ($i=0; $i < 5; $i++) { echo "$timezone_identifiers[$i]\n"; } ?> With the following output: Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmera But when I run it I get different results: localtime Zulu WET W-SU Universal Why do I get different results? I'm running Php 5.2.10 on Ubuntu 9.10 Quote Link to comment https://forums.phpfreaks.com/topic/181913-datetimezonelistidentifiers-different-results/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.