magento display formatted date
Grabbed from parsing magento's source code
Copy this code and paste it in your HTML
$format = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
var_dump(Mage
::app()->getLocale()->date($DATE-TO
-FORMAT
)->toString($format));
Report this snippet
Comments
Subscribe to comments