source/Application/Model/Order.php
public function assign($dbRecord)
    {
        parent::assign($dbRecord);

        $oUtilsDate = \OxidEsales\Eshop\Core\Registry::getUtilsDate();

        // convert date's to international format
        $this->oxorder__oxorderdate = new \OxidEsales\Eshop\Core\Field($oUtilsDate->formatDBDate($this->oxorder__oxorderdate->value));
        $this->oxorder__oxsenddate = new \OxidEsales\Eshop\Core\Field($oUtilsDate->formatDBDate($this->oxorder__oxsenddate->value));
    }
public function assign($dbRecord)
    {
        parent::assign($dbRecord);

        $oUtilsDate = \OxidEsales\Eshop\Core\Registry::getUtilsDate();

        // convert date's to international format
        $this->oxorder__oxorderdate = new \OxidEsales\Eshop\Core\Field($oUtilsDate->formatDBDate($this->oxorder__oxorderdate->value));
        $this->oxorder__oxsenddate = new \OxidEsales\Eshop\Core\Field($oUtilsDate->formatDBDate($this->oxorder__oxsenddate->value));
    }
public function assign ( $ dbRecord ) { parent :: assign ( $ dbRecord ) ; $ oUtilsDate = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) ; // convert date's to international format $ this -> oxorder__oxorderdate = new \ OxidEsales \ Eshop \ Core \ Field ( $ oUtilsDate -> formatDBDate ( $ this -> oxorder__oxorderdate -> value ) ) ; $ this -> oxorder__oxsenddate = new \ OxidEsales \ Eshop \ Core \ Field ( $ oUtilsDate -> formatDBDate ( $ this -> oxorder__oxsenddate -> value ) ) ; }
Assigns data, stored in DB to oxorder object

@param mixed $dbRecord DB record
Assigns data stored in DB to oxorder object