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

Save remote XML to local website folder
Hi, I hope you can help me out. I would like to be able to pull an XML file from another site and t

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

Port scanner problem
Hai
recently i developed one app through which u can check the opened and closed ports under an

Syntax Help
Code:


im having trouble with that code snipped
Parse error: syntax error, unexpec

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

Echoing If Function?
A script I am using has If statements in the comments form to basically tell the form what to do. Cu

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

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