The format string can be any string literal, containing 0 or more format
specifiers.
The date argument can be any expression as long as it resolves to a date.
public dateToString ( string $format, mixed | self $expression ) | ||
$format | string | |
$expression | mixed | self |