Bagaimana cara mengatur notasi waktu menjadi:
Hari - Bulan - Tahun (dalam notasi belanda)
dengan fungsi: <?php echo $_product->getSpecialTODate();?>
di Magento?
Notasi saat ini: Tahun-Bulan-Hari waktu:waktu:waktu
Bagaimana cara mengatur notasi waktu menjadi:
Hari - Bulan - Tahun (dalam notasi belanda)
dengan fungsi: <?php echo $_product->getSpecialTODate();?>
di Magento?
Notasi saat ini: Tahun-Bulan-Hari waktu:waktu:waktu
Memperbaikinya: <?php echo date('d F Y', strtotime($specialPriceToDate)); ?>
Coba ikuti potongan kode alih-alih kode Anda <?php echo Mage::helper('core')->formatDate($_product->getSpecialTODate(), 'short', false); ?>