<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Date + 1 day in Web Form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/date-1-day-in-web-form/m-p/826619#M17233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case anyone else runs into this, the issue was that I was using "date(decimal-date-time..." and should have been using "date-time(decimal-date-time) to convert the collected date fields into the proper decimal-date-time format as required when using web forms.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2020 18:18:22 GMT</pubDate>
    <dc:creator>DanielKonzek</dc:creator>
    <dc:date>2020-04-13T18:18:22Z</dc:date>
    <item>
      <title>Date + 1 day in Web Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-1-day-in-web-form/m-p/826618#M17232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3966"&gt;Ismael Chivite&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having difficulties with a calculation that would simply add 1 day to the date question collected in Survey123.&amp;nbsp; The form is a web form, so I am converting the date to decimal-date-time and then attempting to add 1.00000008 (1 day in DDT).&amp;nbsp; This works perfectly in Survey123 Connect, and it seems to work when I submit data in my webform.&amp;nbsp; It does not work however when anyone outside of my time zone submits data.&amp;nbsp; I have attempted to pull UTC offset and calculate the date with a UTC offset and then add one day, but I cannot get that calculation to work properly.&amp;nbsp; Any thoughts on how I could get this to work properly for multiple time zones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen capture showing some of my various attempts:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/488305_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2020 15:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-1-day-in-web-form/m-p/826618#M17232</guid>
      <dc:creator>DanielKonzek</dc:creator>
      <dc:date>2020-04-11T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date + 1 day in Web Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-1-day-in-web-form/m-p/826619#M17233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case anyone else runs into this, the issue was that I was using "date(decimal-date-time..." and should have been using "date-time(decimal-date-time) to convert the collected date fields into the proper decimal-date-time format as required when using web forms.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 18:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-1-day-in-web-form/m-p/826619#M17233</guid>
      <dc:creator>DanielKonzek</dc:creator>
      <dc:date>2020-04-13T18:18:22Z</dc:date>
    </item>
  </channel>
</rss>

