In ContractDetails, the Maturity, IssueDate, and NextOptionDate are not filled in by TWS because of market data restrictions. If the data becomes available, the columns should be converted to date-times and validated.
https://interactivebrokers.github.io/tws-api/classIBApi_1_1ContractDetails.html#a58fa4bd5c8490afb2107aa31e96bafb8