Sponsored Content
Full Discussion: Where have you been?
The Lounge What is on Your Mind? Where have you been? Post 302152985 by porter on Sunday 23rd of December 2007 01:26:21 AM
Old 12-23-2007
So far I've circumnavigated the world four times and the only two continents I haven't been to are Africa and Antarctica.

Image

Last edited by porter; 12-23-2007 at 02:55 PM..
 
DATETIMEZONE.LISTIDENTIFIERS(3) 					 1					   DATETIMEZONE.LISTIDENTIFIERS(3)

DateTimeZone::listIdentifiers - Returns a numerically indexed array containing all defined timezone identifiers

       Object oriented style

SYNOPSIS
publicstatic array DateTimeZone::listIdentifiers NULL ([int $what = DateTimeZone::ALL], [string $country]) DESCRIPTION
Procedural style array timezone_identifiers_list NULL ([int $what = DateTimeZone::ALL], [string $country]) PARAMETERS
o $what - One of DateTimeZone class constants. o $country - A two-letter ISO 3166-1 compatible country code. Note This option is only used when $what is set to DateTimeZone::PER_COUNTRY. RETURN VALUES
Returns array on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | Added the optional $what and $country parame- | | | ters. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 A timezone_identifiers_list(3) example <?php $timezone_identifiers = DateTimeZone::listIdentifiers(); for ($i=0; $i < 5; $i++) { echo "$timezone_identifiers[$i] "; } ?> The above example will output something similar to: Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmara SEE ALSO
timezone_abbreviations_list(3). PHP Documentation Group DATETIMEZONE.LISTIDENTIFIERS(3)
All times are GMT -4. The time now is 04:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy