<?php
$time= Mage::getModel('core/date')->date('Y-m-d H:i:s');
// Or
$time2= date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
echo $time.'<br>'.$time2;
?>
Categories: Magento
<?php
$time= Mage::getModel('core/date')->date('Y-m-d H:i:s');
// Or
$time2= date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
echo $time.'<br>'.$time2;
?>
1 Comment
Rathna Kumar · June 26, 2015 at 1:48 pm
I want to add the Seller address in the invoice page in magento. and also this address sent to customer in email?
Help me bro