HOW TO
In ArcGIS Survey123, when publishing surveys as feature layers to ArcGIS Online, the date fields are stored in Coordinated Universal Time (UTC) time instead of the local time zone in which the survey is taken. When viewing submitted data, the UTC time is converted to the local time zone in which the data is viewed. This is the expected behavior in ArcGIS Survey123 to standardize date values when analyzing data received from submitters with different time zones. Refer to ArcGIS Online: Published date fields store time in UTC for more information.
When exporting survey data as an Excel file from ArcGIS Survey123, the date field displays the date and time in UTC time instead of the local time zone which can cause confusion due to discrepancies.
This image shows the 'Date and time' field displays the dates and times in UTC time.
This article describes the workflow to display the local time zone when exporting survey data from ArcGIS Survey123.
pulldata("@property", 'utcOffset')
${dt1} + ${utc}*(60*60*1000)
date-time(decimal-date-time(${dt1}) + ${utc}*0.04166666666667)
Note: The ArcGIS Survey123 field app supports both epoch time and decimal time, while the web app only supports decimal time. Refer to ArcGIS Survey123: Decimal date time for more information.
In this example, both expressions are entered in separate rows to demonstrate the differences.
The recorded data can be viewed and exported from the survey's Data tab on the ArcGIS Survey123 website. To export the data, refer to ArcGIS Survey123: Download results. In this example, the 'adjusted_date' and 'adjusted_date2' fields in the exported file display the local time zone.
Get help from ArcGIS experts
Download the Esri Support App