Bug ID Number |
BUG-000165572 |
Submitted | March 2, 2024 |
Last Modified | November 5, 2024 |
Applies to | ArcGIS Survey123 |
Version found | N/A |
Operating System | N/A |
Operating System Version | N/A |
Status | As Designed
After review by the development team, it has been determined that this behavior is as designed. See the Additional Information section for details.
|
Additional Information
When querying attributes from a date field in a feature layer, the values are returned as UNIX timestamps. However, ArcGIS Survey123 web app only supports decimal date and time which means the dates must be converted.
It is recommended to use decimal date format, because then the XLSForm expressions works both in the field and web apps. The ArcGIS Survey123 web app ONLY supports decimal time. For example: date-time(int(${timestampqueried})div 86400000)
Refer the documentation https://doc.arcgis.com/en/survey123/desktop/create-surveys/decimaldatetime.htm for more information.
Workaround
Convert dates queried from the feature layer (timestamps) to decimal date time.
e.g. date-time(int(${timestampqueried})div 86400000)
Steps to Reproduce