getDate() public méthode

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