val() 공개 메소드

Return, or update, current standard objects value.
public val ( null $value = null ) : mixed
$value null If $value is set, value is updated and DateTimeObject is returned.
리턴 mixed
예제 #1
0
 public function testConstructor2()
 {
     $dt = new DateTimeObject('14.02.2013');
     $dt->setFormat('d.m.Y');
     $this->assertSame('14.02.2013', $dt->val());
 }