public function EasyRdf_Literal_DateTime::sec

The seconds pasts the minute as an integer

Return value

integer

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/DateTime.php, line 108

Class

EasyRdf_Literal_DateTime
Class that represents an RDF Literal of datatype xsd:dateTime

Code

public function sec() {
  return (int) $this
    ->format('s');
}