public function getIsUnPublishScheduled()
    {
        if (!$this->owner->UnPublishOnDate) {
            return false;
        }
        $now = DBDatetime::now()->getTimestamp();
        $unpublish = $this->owner->dbObject('UnPublishOnDate')->getTimestamp();

        return $now < $unpublish;
    }
public function getIsUnPublishScheduled()
    {
        if (!$this->owner->UnPublishOnDate) {
            return false;
        }
        $now = DBDatetime::now()->getTimestamp();
        $unpublish = $this->owner->dbObject('UnPublishOnDate')->getTimestamp();

        return $now < $unpublish;
    }
public function getIsUnPublishScheduled ( ) { if ( ! $ this -> owner -> UnPublishOnDate ) { return false ; } $ now = DBDatetime :: now ( ) -> getTimestamp ( ) ; $ unpublish = $ this -> owner -> dbObject ( 'UnPublishOnDate' ) -> getTimestamp ( ) ; return $ now < $ unpublish ; }
Returns whether an unpublishing date has been set and is after the current date

@return bool
Returns whether an unpublishing date has been set and is after the current date