I have used Magento 1.9
initially timezone was America/Los_Angeles
in app/etc/config.xml
file and set India/Calcutta timezone in
System -> Configuration -> General -> Locale Options ->Timezone
at that time Magento function Mage::getModel('core/date')->date('Y-m-d H:i:s')
return correct date.
But order placed time was -5:30 to real time.
For set Asia/Calcutta timezone, I have changed app/etc/config.xml
general->locale->timezone
to Asia/Calcutta
and in app/Mage.php
I have changed UTC
to Asia/Calcutta
,
And it has changed the timezone in the backend, it means order placed time is correct as real-time but the function Mage::getModel('core/date')->date('Y-m-d H:i:s')
return me +5:30 time to real time.
Is there any place where I missed to change?
Or Is there another method to change the timezone of the Magento store?