geoip_time_zone_by_country_and_region()
geoip_time_zone_by_country_and_region - Returns the time zone for some country and region code combo
Syntax
string geoip_time_zone_by_country_and_region (
string $country_code,
string $region_code)
Arguments
- country_code - The two-letter country code (see geoip_country_code_by_name())
- region_code - The two-letter (or digit) region code (see geoip_region_by_name())
Description
The geoip_time_zone_by_country_and_region() function will return the time zone corresponding to a country and region code combo.
Version
PHP PECL geoip >= 1.0.4
Return value
Returns the time zone on success, or FALSE if the country and region code combo cannot be found.