note 126900 added to intltimezone.createtimezoneidenumeration

From: Date: Fri, 04 Mar 2022 23:36:18 +0000
Subject: note 126900 added to intltimezone.createtimezoneidenumeration
Groups: php.notes 
Request: Send a blank email to php-notes+get-217683@lists.php.net to get a copy of this message
Iterating the return value gives you a a string with the time zone ID (ie "Europe/London" or "Etc/GMT-1") For the constants to use for the zoneType argument, see: https://github.com/php/php-src/blob/master/ext/intl/timezone/timezone_class.cpp#L419-L421 <?php IntlTimeZone::TYPE_ANY // the whole lot, including aliases like "CST" IntlTimeZone::TYPE_CANONICAL // the canonical IDs (no aliases) IntlTimeZone::TYPE_CANONICAL_LOCATION // only IDs for locations (no "Etc/GMT-1") ?> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.135 (proxied: 81.141.204.50) ---- Manual Page -- https://php.net/manual/en/intltimezone.createtimezoneidenumeration.php Edit -- https://main.php.net/note/edit/126900 Del: integrated -- https://main.php.net/note/delete/126900/integrated Del: useless -- https://main.php.net/note/delete/126900/useless Del: bad code -- https://main.php.net/note/delete/126900/bad+code Del: spam -- https://main.php.net/note/delete/126900/spam Del: non-english -- https://main.php.net/note/delete/126900/non-english Del: in docs -- https://main.php.net/note/delete/126900/in+docs Del: other reasons-- https://main.php.net/note/delete/126900 Reject -- https://main.php.net/note/reject/126900 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#217683) next »