DateTimeInterface::format
Returns date formatted according to given format
Object oriented style
Signature
public function format(string
$format )
Parameters
$format
— string
Returns
- string
Object oriented style
public function format(string
$format )
$format
—
string