public function EasyRdf_Literal_Date::format in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php \EasyRdf_Literal_Date::format()
Returns date formatted according to given format
Parameters
string $format:
Return value
string
See also
DateTime::format
6 calls to EasyRdf_Literal_Date::format()
- EasyRdf_Literal_Date::day in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Date.php - Integer representation of the day of the month
- EasyRdf_Literal_Date::month in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Date.php - Integer representation of the month
- EasyRdf_Literal_Date::year in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Date.php - A full integer representation of the year, 4 digits
- EasyRdf_Literal_DateTime::hour in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ DateTime.php - 24-hour format of the hour as an integer
- EasyRdf_Literal_DateTime::min in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ DateTime.php - The minutes pasts the hour as an integer
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ Date.php, line 106
Class
- EasyRdf_Literal_Date
- Class that represents an RDF Literal of datatype xsd:date
Code
public function format($format) {
return $this
->getValue()
->format($format);
}