public function getIsPublishScheduled()
    {
        if (!$this->owner->PublishOnDate) {
            return false;
        }
        $now = DBDatetime::now()->getTimestamp();
        $publish = $this->owner->dbObject('PublishOnDate')->getTimestamp();

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

        return $now < $publish;
    }
public function getIsPublishScheduled ( ) { if ( ! $ this -> owner -> PublishOnDate ) { return false ; } $ now = DBDatetime :: now ( ) -> getTimestamp ( ) ; $ publish = $ this -> owner -> dbObject ( 'PublishOnDate' ) -> getTimestamp ( ) ; return $ now < $ publish ; }
Returns whether a publishing date has been set and is after the current date

@return bool
Returns whether a publishing date has been set and is after the current date