Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (06-11-92) at position 7 (2): Unexpected character in /in/qf513:13
Stack trace:
#0 /in/qf513(13): DateTime->__construct('06-11-92', Object(DateTimeZone))
#1 /in/qf513(18): converteData('d-m-y', 'd/m/Y H:i:s', '06-11-1992')
#2 {main}
thrown in /in/qf513 on line 13
Process exited with code 255.
Output for 5.6.18 - 5.6.28
Fatal error: Call to a member function format() on boolean in /in/qf513 on line 15
Process exited with code 255.
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (06-11-92) at position 7 (2): Unexpected character' in /in/qf513:13
Stack trace:
#0 /in/qf513(13): DateTime->__construct('06-11-92', Object(DateTimeZone))
#1 /in/qf513(18): converteData('d-m-y', 'd/m/Y H:i:s', '06-11-1992')
#2 {main}
thrown in /in/qf513 on line 13
Process exited with code 255.