In Localhost IntlDateFormatter working fine but after uploading on domain it changed. Exe. (January = 1, February = 2). Here are my php code:
[php]$now = new DateTime('January 09, 2016'); //DateTime is a core PHP class as of version 5.2.0
$formatter = new IntlDateFormatter('ne_NP', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Asia/Kathmandu', IntlDateFormatter::GREGORIAN,'MMMM dd, yyyy');
echo $formatter->format($now);[/php]
Here are the output screenshot In [ocalhost screenshot And Uploaded screenshot. How can I fix it?
Server PHP Version 5.4.45
Your help will be appreciate.