__construct()
extract()
hydrate()
$format
$timezone
__construct(string $format, \DateTimeZone $timezone)
string
\DateTimeZonenull
extract(mixed | \DateTime $value) : mixed | string
Converts to date time string
mixed\DateTime
mixed
hydrate(mixed | string $value) : mixed | \DateTime
mixedstring
\DateTime
$format : string
$timezone : \DateTimeZone | null