Definition
The date_get_last_errors() function returns the warnings and errors found while parsing a date/time string.
Syntax
date_get_last_errors()
Parameters
None.
Example
<?php
date_create("asdfe/");
print_r(date_get_last_errors());