Faced the same problem in Magento 1.8.1 and is used below to determine the account creation date and the last login date. Because some of them, like Magento, are being converted every day and month at the moment in the client editing section. Path: app\code\core\Mage\Adminhtml\Block\Customer\Edit\Tab\View.php Override the methods described above:
public function getCreateDate() { $cutomerId = $this->getRequest()->getParam('id'); $connection = Mage::getSingleton('core/resource')->getConnection('core_read'); $select = $connection->select() ->from('customer_entity', array('created_at')) ->where('entity_id=?',$cutomerId); $rowArray = $connection->fetchRow($select); return $this->_getCoreHelper()->formatDate($rowArray['created_at'], Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM, true); } public function getStoreCreateDate() { $cutomerId = $this->getRequest()->getParam('id'); $connection = Mage::getSingleton('core/resource')->getConnection('core_read'); $select = $connection->select() ->from('customer_entity', array('created_at')) ->where('entity_id=?',$cutomerId); $rowArray = $connection->fetchRow($select); return $this->_getCoreHelper()->formatDate($rowArray['created_at'], Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM, true); } public function getLastLoginDate() { if ($date = $this->getCustomerLog()->getLoginAtTimestamp()) { $date = Mage::app()->getLocale()->storeDate( $this->getCustomer()->getStoreId(), $date, true ); return $this->formatDate($date, Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM, true); } return Mage::helper('customer')->__('Never'); }
source share