laptop and a wrench

Bug

The minute calculation is incorrect when subtracting a date in ArcGIS Survey123 Connect.

ArcGIS Survey123
Bug ID Number BUG-000139332
SubmittedApril 23, 2021
Last ModifiedAugust 9, 2024
Applies toArcGIS Survey123
Version found3.12
Operating SystemWindows OS
Operating System Version10.0
StatusKnown Limit

Additional Information

The issue described occurs when the device timezone is between UTC-12:00 and UTC+00:00. The survey uses some functions to perform calculations, which sometimes leads to rounding issues that can cause incorrect results. To solve the problem described in this case, change the calculation formula from: "int((decimal-date-time(${enddatetimetoday}) - decimal-date-time(${startdatetimetoday})) * 24*60)" to: "number((decimal-date-time(${enddatetimetoday}) - decimal-date-time(${startdatetimetoday})) * 24*60)".

Steps to Reproduce

Bug ID: BUG-000139332

Software:

  • ArcGIS Survey123

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options