public function unpublishDate($var = null)
    {
        if ($var !== null) {
            $this->unpublish_date = Utils::date2timestamp($var, $this->dateformat);
        }

        return $this->unpublish_date;
    }
public function unpublishDate($var = null)
    {
        if ($var !== null) {
            $this->unpublish_date = Utils::date2timestamp($var, $this->dateformat);
        }

        return $this->unpublish_date;
    }
public function unpublishDate ( $ var = null ) { if ( $ var !== null ) { $ this -> unpublish_date = Utils :: date2timestamp ( $ var , $ this -> dateformat ) ; } return $ this -> unpublish_date ; }
Gets and Sets the Page unpublish date

@param  string $var string representation of a date

@return int|null         unix timestamp representation of the date
Gets and Sets the Page unpublish date