public function 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()

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);
}