DateTimeZone::listIdentifiers headache


Posted on 16th Feb 2014 07:03 pm by admin

http://php.net/manual/en/datetimezone.listidentifiers.php


So the documentation states that one can get locales by using the above mentioned function. However what I am trying to do is get country specific data.
Did you know?Explore Trending and Topic pages for more stories like this.

I am using:

Code: $timezone_identifiers = DateTimeZone::listIdentifiers(4096,"CN");
print_r($timezone_identifiers);


and I still get the whole list!. All I want is the locales per country, in this case china.

What am I doing wrong?
No comments posted yet

Your Answer:

Login to answer
233 Like 36 Dislike
Previous forums Next forums
Other forums

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

Sending UDP Raw socket
I truly need help on this. I am trying to write a test program that simulate a network environment

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

Hyperlink is adding an extra gap to variable
Hi, here's my problem..

I have a php generated page with a hyperlink which opens in a new win

puting for loop in 1 value
hi ,

how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i

MS Exchange 2007 integration with ECC 6.0
Hello Experts,
We have ECC 6.0 and MS Exchange 2007. We need to integrate ECC 6 and MS Excha

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash