public function EasyRdf_Literal_Date::month in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php \EasyRdf_Literal_Date::month()
Integer representation of the month
Return value
integer
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Date.php, line 124
Class
- EasyRdf_Literal_Date
- Class that represents an RDF Literal of datatype xsd:date
Code
public function month() {
return (int) $this
->format('m');
}