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

Paypal
Hi all,

I have an advanced basic knowledge of php

I want to try something new for a s

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

DataTable Help Required
Hi all I am creating an app that utilises and MS Access back end and queries it quite a bit at vario

session checking in page load
hai all I have a web site is www.Mryas.com in this my login page is Page1.aspx its co

Limiting uploaded file type
I am working on a simple upload script, and I need it to limit the allowed file type that is uploade

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

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