source/Application/Model/Actions.php
public function getTimeLeft()
    {
        $iNow = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iFrom = strtotime($this->oxactions__oxactiveto->value);

        return $iFrom - $iNow;
    }
public function getTimeLeft()
    {
        $iNow = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iFrom = strtotime($this->oxactions__oxactiveto->value);

        return $iFrom - $iNow;
    }
public function getTimeLeft ( ) { $ iNow = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) -> getTime ( ) ; $ iFrom = strtotime ( $ this -> oxactions__oxactiveto -> value ) ; return $ iFrom - $ iNow ; }
return time left until finished

@return int
return time left until finished