getTime() public méthode

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