fix docblock
Check for errors after convert string to DateTime