错误
In some instances, when using the Select Layer By Attribute tool on a layer imported from ArcGIS Online, or querying a feature in ArcGIS Pro, or attempting to open the attribute table of a feature class or a hosted feature service in ArcGIS Pro, the following error message is returned:
Error: Not a legal OleAut date.
This error occurs due to the following known causes:
Depending on the cause, choose one of the methods provided to resolve the problem.
Note: Perform the following workarounds in ArcMap if the error prompt disallows the editing of the attribute table in ArcGIS Pro.
Assign null values to the empty fields
Replace the empty field values with nulls. Refer to FAQ: Is it possible to assign nulls to a field using the Field Calculator? for more information.
Remove the special characters from the date field values
To remove special characters in the field value, double-click the cell, select the special characters, and press Delete on the keyboard. Optionally, set the empty field values to null. Refer to FAQ: Is it possible to assign nulls to a field using the Field Calculator? for steps to do so.
Correct or exclude dates earlier than January 1, 100
If the table contains datetime values earlier than midnight, January 1, 100, confirm that the values are valid and correct those that are not. If all values are correct and you cannot make changes to the data, you can do one of the following to work with the table and avoid the error message:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序