getDate() 공개 메소드

Get date in full date format.
public getDate ( null | string $format = null ) : string
$format null | string A valid date format.
리턴 string Date in full date format like ISO 8691 or RFC 2822.
예제 #1
0
 public function testGetDate()
 {
     $dt = new DateTimeObject('14.02.2013', 'Europe/London');
     $this->assertSame("2013-02-14T00:00:00+00:00", $dt->getDate());
 }