Easy Tutorial
❮ Php Gd Info Func Xml Set Unparsed Entity Decl Handler ❯

PHP date_parse_from_format() Function

PHP Date/Time Reference Manual

Example

Returns an associative array with detailed information about the specified date according to the specified format:


Definition and Usage

The date_parse_from_format() function returns an associative array with detailed information about the specified date according to the specified format.

Syntax

Parameter Description
format Required. Specifies the format (the format is defined by date_create_from_format()
date Required. A string specifying the date.

Technical Details

Return Value: Returns an associative array with detailed information about the specified date if successful.
PHP Version: 5.3+
--- ---
❮ Php Gd Info Func Xml Set Unparsed Entity Decl Handler ❯