dateFormatter()
dateFormatter(integer|string|\DateTime $dateTime, string $format) : string
Perform the actual DateTime formatting
Parameters
integer|string|\DateTime |
$dateTime |
Date time value |
string |
$format |
Format of the result |
Throws
- \Guzzle\Common\Exception\InvalidArgumentException
Returns
string