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.

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

Executing an exe
Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a ga

Bandwidth monitoring?
Hi guys,

I need a little information I have written a php app and I occurred to that I need

smart reading from a text file
Hello there fellow coders, i was wondering if one of you wouldnt mind helping me with this problem i

CU&UC guide
Hi Gurus,

can anybody provide me the link for CU&UC upgrade guide

Thanks i

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

gather checkbox data from form into email
Hello all,

First, i'd like to thank everyone who responded to my previous posts regarding set

remove innitial

and

tags
i am using tiny_mce as a text editor for my CMS.
buy now the problem is it add <p>

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

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