source/Application/Controller/ContentController.php
public function getRdfaPriceValidity()
    {
        $iDays = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRDFaPriceValidity');
        $iFrom = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iThrough = $iFrom + ($iDays * 24 * 60 * 60);
        $oPriceValidity = [];
        $oPriceValidity['validfrom'] = date('Y-m-d\TH:i:s', $iFrom) . "Z";
        $oPriceValidity['validthrough'] = date('Y-m-d\TH:i:s', $iThrough) . "Z";

        return $oPriceValidity;
    }
public function getRdfaPriceValidity()
    {
        $iDays = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRDFaPriceValidity');
        $iFrom = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iThrough = $iFrom + ($iDays * 24 * 60 * 60);
        $oPriceValidity = [];
        $oPriceValidity['validfrom'] = date('Y-m-d\TH:i:s', $iFrom) . "Z";
        $oPriceValidity['validthrough'] = date('Y-m-d\TH:i:s', $iThrough) . "Z";

        return $oPriceValidity;
    }
public function getRdfaPriceValidity ( ) { $ iDays = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'iRDFaPriceValidity' ) ; $ iFrom = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) -> getTime ( ) ; $ iThrough = $ iFrom + ( $ iDays * 24 * 60 * 60 ) ; $ oPriceValidity = [ ] ; $ oPriceValidity [ 'validfrom' ] = date ( 'Y-m-d\TH:i:s' , $ iFrom ) . "Z" ; $ oPriceValidity [ 'validthrough' ] = date ( 'Y-m-d\TH:i:s' , $ iThrough ) . "Z" ; return $ oPriceValidity ; }
Returns rdfa VAT

@return bool
Returns rdfa VAT