Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

date_parse_from_format()

3 tags 1 category

date_parse_from_format() — Get info about given date formatted according to the specified format.

date_parse_from_format() — Returns associative array with detailed info about given date/time.

Inputs: format: Documentation on how the format is used, please refer to the documentation of DateTimeImmutable::createFromFormat. The same rules apply. datetime: String representing the date/time.

Returns: Returns associative array with detailed info about given date/time. The returned array has keys for year, month, day, hour, minute, second, fraction, and is_localtime.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…