DateTimeZone::listIdentifierstimezone_identifiers_listReturns a numerically indexed array containing all defined timezone identifiers DescriptionObject oriented style
public static array DateTimeZone::listIdentifiers
([ int
$what = DateTimeZone::ALL
[, string $country = NULL
]] )Procedural style
array timezone_identifiers_list
([ int
$what = DateTimeZone::ALL
[, string $country = NULL
]] )Parameters
Return Values
Returns array on success or Changelog
Examples
Example #1 A timezone_identifiers_list example
<?php The above example will output something similar to: Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmara See Also
|