DateTime::createFromFormat() returns FALSE on failure

fixes #1495