Return to Snippet

Revision: 45771
at May 7, 2011 05:26 by TioSolid


Initial Code
date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));

Initial URL
http://phpbugs.wordpress.com/2009/12/22/magento-get-the-current-date-and-time-according-to-the-timezone/

Initial Description

                                

Initial Title
Get Magento Current Time

Initial Tags
magento

Initial Language
PHP