Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP date_get_last_errors() Function

PHP date_get_last_errors() Function

PHP Date/Time PHP Date/Time Reference Manual

Example

Return the warnings and errors found while parsing a date string:

Run Example »


Definition and Usage

The date_get_last_errors() function returns the warnings/errors found while parsing a date string.

Syntax

date_get_last_errors();

Technical Details

Return Value: Returns an array containing information about the errors/warnings.
PHP Version: 5.3+

PHP Date/Time PHP Date/Time Reference Manual