date_parse
ahmard/quick-route
Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Returns associative array with detailed info about given date/time
<?php date_parse
(
string $datetime
): array