keithg

Add india timezone in magento

you have to set your timezone manually first go to app/etc/config.xml add your time zone here <general> <locale> <code>en_US</code> <timezone>Asia/Calcutta</timezone> </locale> </general> second go to app/Mage.php on line 768 change this line too date_default_timezone_set(‘UTC’); to your timezone date_default_timezone_set(‘Asia/Calcutta’); ================================================================================= To check Time zone Mage::getModel(‘core/date’)->gmtDate(‘Y-m-d H:i:s’)Read more …