Ejemplo n.º 1
0
 /**
  * このオブジェクトの文字列表現です.
  * "YYYY-MM-DD hh:mm" 形式の文字列を返します.
  * 
  * @return string W3CDTF に則った文字列表現
  */
 public function __toString()
 {
     $date = parent::__toString();
     return $date . ' ' . $this->formatTime();
 }