PROBLEM
In ArcGIS Pro, the Calculate Field tool can be used to concatenate two or more attributes into one field in a table. However, in some instances, concatenating the time field and date field results in additional dates and timestamps being added to all entries of the output. The additional dates and timestamps added to the output are ‘30/12/1899’ and ‘00:00:00’.
Additionally, when added to a map, the default date value of '30/12/1899' is added to all entries in the time field.
The following example shows the additional dates and timestamps added to the output and the time field in the data's attribute table in ArcGIS Pro.
Both the time and date fields are displayed correctly when the data is viewed in Microsoft Excel.
When an Excel file is added to a map in ArcGIS Pro, the geodatabase formats the time and date fields as datetime yyyy-mm-dd hh:mm:ss AM or PM. The settings of the Windows operating system determine how the time and date fields are displayed.
This causes the default date value of '30/12/1899' to be automatically appended to the time field without a date value, and the timestamp of '00:00:00' being appended to the date field without a time value.
To resolve this issue, prior to concatenating the time and date field, remove the default date values in the time field using the Convert Time Field tool and the additional timestamps from the date field.
The time and date fields are concatenated without the additional date and timestamp in the DateTime field.
Get help from ArcGIS experts
Download the Esri Support App