English

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

Description

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

Cause

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.
    [O-Image]
  3. Click the Table Option drop-down arrow, and select Add Field.
    [O-Image]
  4. In the Add Field dialog box, set the field name, and select Text as the field type.
    [O-Image]
  5. Click OK.
  6. Right-click the new field, and select Field Calculator.
    [O-Image]
  7. If a warning on calculating outside of an edit session is displayed, click Yes.
    [O-Image]
  8. Fill out the following Date parameters.
    [O-Image]
  9. Click OK.

Related Information