English

Error: The supplied DateTime represents an invalid time. For example, when the clock is adjusted forward, any time in the period that is skipped is invalid. Parameter name: dateTime

Error Message

When adding a CSV file as a hosted feature layer in ArcGIS Online, the hosted feature layer is created in ArcGIS Online, but the data and URL is invalid. As a result, the following error message is returned:

Error: 
The supplied DateTime represents an invalid time. For example, when the clock is adjusted forward, any time in the period that is skipped is invalid. Parameter name: dateTime.
image of the error message

Cause

This error occurs when one of the records in the CSV file contains invalid time, due to the adjustment for daylight saving time.

Solution or Workaround

To resolve this issue, search the CSV file for the invalid date and time records and replace the time accordingly. For example, replace March 12, 2017, 2:10:39 AM to March 12, 2017, 3:10:39 AM.

Related Information