getMonth() public méthode

Get month based on current date.
public getMonth ( null | string $format = null ) : string
$format null | string A valid month format.
Résultat string Month based on current date.
 public function testGetMonth()
 {
     $dt = new DateTimeObject('14.02.2013');
     $this->assertSame("02", $dt->getMonth());
 }