/** * Method getValueStr * @access public * @return mixed * @since 1.1.6 */ public function getValueStr() { $this->value = parent::getValue(); if (get_class($this->value) == "DateTime") { if (array_key_exists($this->dateFormat, $this->dateFormatConvertPhpFormat)) { return $this->value->format($this->dateFormatConvertPhpFormat[$this->dateFormat]); } } return $this->value; }