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