Problem: Date fields in a web map display incorrectly in the ArcGIS Online map viewer


When a web map is published in ArcGIS Online, the date displayed in the pop-up window and attribute table is incorrect.


This is expected behavior, as the dates are stored in Coordinated Universal Time (UTC) in the server. The time is stored as 00:00:00 UTC if no time is set, and the date is converted to local time by the web browser. This causes the date to be displayed incorrectly in the ArcGIS Online map viewer for certain users since the dates are different.

Solution or Workaround

Follow the steps provided to display the correct date in the web map pop-up window and the attribute table.

  1. Open ArcMap.
  2. Right-click the selected layer in the Table Of Contents > Open Attribute Table.
  3. Click the Table Option drop-down arrow, and select Add Field.
  4. In the Add Field dialog box, set the field name, and select Text as the field type.
  5. Click OK.
  6. Right-click the new field, and select Field Calculator.
  7. If a warning on calculating outside of an edit session is displayed, click Yes.
  8. Fill out the following Date parameters.
  9. Click OK.

Related Information