getMonth() 공개 메소드

Get month based on current date.
public getMonth ( null | string $format = null ) : string
$format null | string A valid month format.
리턴 string Month based on current date.
예제 #1
0
 public function testGetMonth()
 {
     $dt = new DateTimeObject('14.02.2013');
     $this->assertSame("02", $dt->getMonth());
 }