public function date($key, $format = "F j, Y")
    {
        if (is_numeric($this->_params[$key])) {
            return date($format, $this->_params[$key]);
        }

        return date($format, strtotime($this->_params[$key]));
    }
public function date($key, $format = "F j, Y")
    {
        if (is_numeric($this->_params[$key])) {
            return date($format, $this->_params[$key]);
        }

        return date($format, strtotime($this->_params[$key]));
    }
public function date ( $ key , $ format = "F j, Y" ) { if ( is_numeric ( $ this -> _params [ $ key ] ) ) { return date ( $ format , $ this -> _params [ $ key ] ) ; } return date ( $ format , strtotime ( $ this -> _params [ $ key ] ) ) ; }
Return a parameter as a formatted date string

@param  string $key
@param  string $format

@return string
Return a parameter as a formatted date string