Invalid DateTime Value Does Not Produce an Error
and No Features Are Inserted
If a DateTime datatype is inserted with the following values:
No error is produced on the Insert command and the feature reader is returned with the Identifier set to 0. Nothing is inserted into the data store.
Workaround: Insert a valid date value.
The GisDateTime class is used to store dates, times, or both. No range checking is performed. The valid parameters are:
year Year in the range of 1 to 9999
month Month in the range of 1 to 12 inclusive (January = 1)
day Day of the month in the range of 1 to 31 inclusive
hour Hour since midnight in the range of 0 to 23
minute Minutes after hour in the range of 0 to 59
seconds Seconds after minute in the range of 0 to 59.9999999