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

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

Add a sign-up feature to a flat file login script
I'm working on a flat file login script and I would like to add a sign-up feature to it with a email

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

Need help/w Page: 1,2,3,4 function!
So I have this code im working on where it's ment to display seperate pages having 20 logs each
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 '

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

problems with search form numerical "between" sending by php
I am trying to display the results of a search, on a sql database, on a web page. I set up html &quo

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with 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