(PHP 5 >= 5.5.0, PHP 7, PHP 8)
Representation of date and time.
$format
, string $datetime
, DateTimeZone|null $timezone
= null
) : DateTimeImmutable|false$hour
, int $minute
, int $second
= 0
, int $microsecond
= 0
) : DateTimeImmutable