24-hour format of the hour as an integer
Return value
integer
File
- drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/DateTime.php, line 90
Class
- EasyRdf_Literal_DateTime
- Class that represents an RDF Literal of datatype xsd:dateTime
Code
public function hour() {
return (int) $this
->format('H');
}