getSeconds() public method

Get seconds based on current date.
public getSeconds ( ) : string
return string Seconds based on current date.
Ejemplo n.º 1
0
 public function testGetSeconds()
 {
     $dt = new DateTimeObject('14.02.2013 14:33:18');
     $this->assertSame("18", $dt->getSeconds());
 }