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

相关信息
Article ID: 43688
Bug Id: N/A
Software:
ArcGIS Online Current
Platforms: N/A

问题描述
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.
已邀请:

易智瑞技术支持

赞同来自:

解决方案
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.


其它相关参考
  1. ArcGIS Help: Fundamentals of date fields


创建及修改时间
Created: 12/11/2014

Last Modified: 2/3/2015
原文链接
http://support.esri.com/en/kno ... 43688

要回复问题请先登录注册