Return an associative array with detailed information about a specified date, according to the specified format:
The date_parse_from_format() function returns an associative array with detailed information about a specified date, according to the specified format.
Parameter | Description |
---|---|
format | Required. Specifies the format (a format accepted by date_create_from_format()) |
date | Required. A string that specifies a date |
Return Value: | Returns an associative array containing information about the specified date on success |
---|---|
PHP Version: | 5.3+ |