Returns date formatted according to given format
Parameters
string $format:
Return value
string
See also
DateTime::format
File
- drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php, line 101
Class
- EasyRdf_Literal_Date
- Class that represents an RDF Literal of datatype xsd:date
Code
public function format($format) {
return $this
->getValue()
->format($format);
}