original_string: public function date($var = null)
      {
          if ($var !== null) {
              $this->date = Utils::date2timestamp($var, $this->dateformat);
          }
  
          if (!$this->date) {
              $this->date = $this->modified;
          }
  
          return $this->date;
      }
code: public function date($var = null)
      {
          if ($var !== null) {
              $this->date = Utils::date2timestamp($var, $this->dateformat);
          }
  
          if (!$this->date) {
              $this->date = $this->modified;
          }
  
          return $this->date;
      }
code_tokens: public function date ( $ var = null ) { if ( $ var !== null ) { $ this -> date = Utils :: date2timestamp ( $ var , $ this -> dateformat ) ; } if ( ! $ this -> date ) { $ this -> date = $ this -> modified ; } return $ this -> date ; }
docstring: Gets and sets the date for this Page object. This is typically passed in via the page headers
  
  @param  string $var string representation of a date
  
  @return int         unix timestamp representation of the date
docstring_tokens: Gets and sets the date for this Page object . This is typically passed in via the page headers