You are here

public function EasyRdf_Literal_Date::day in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php \EasyRdf_Literal_Date::day()

Integer representation of the day of the month

Return value

integer

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php, line 133

Class

EasyRdf_Literal_Date
Class that represents an RDF Literal of datatype xsd:date

Code

public function day() {
  return (int) $this
    ->format('d');
}