PHP date_parse() Function

PHP date_parse Function


Definition :

In php  date_parse()  Function is inbuilt function.PHP date_parse() Function is used to find the detailed information about a specified date. It returns an associative array of detailed information for a specified date on success otherwise, it returns FALSE on failure.

Syntax

 date_parse(date)

Parameter 
Parameter Description
date Required. Specifies a date (in a format accepted by strtotime())

Given below example return an associative array with detailed information about a specified date:

 Output :