getDay() public méthode

Get day based on current date.
public getDay ( null | string $format = null ) : string
$format null | string A valid day format.
Résultat string Day based on current date.
 public function testGetDay()
 {
     $dt = new DateTimeObject('14.02.2013');
     $this->assertSame("14", $dt->getDay());
 }