getTime() 공개 메소드

Return time based on current date.
public getTime ( null | string $format = null ) : string
$format null | string A valid time format.
리턴 string Time based on current date.
예제 #1
0
 public function testGetTime()
 {
     $dt = new DateTimeObject('14.02.2013 14:33:18');
     $this->assertSame("14:33:18", $dt->getTime());
 }