date_parse_from_format
doctrine/dbal
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Get info about given date formatted according to the specified format
<?php date_parse_from_format
(
string $format
,
string $datetime
): array