<?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: Create date object from data and time questions in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716612#M66682</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763693"&gt;@Neal_t_k&lt;/a&gt;&amp;nbsp;Thanks for your response. Yes, using the datetime question is the solution! Late yesterday, I installed the Dates and Times sample survey and realized that I should be using the datetime question. (I almost started using JavaScript to calculate my date object; I'm glad I didn't take that route.)&lt;/P&gt;&lt;P&gt;Originally, I used separate date and time questions because I needed separate date and time strings in local time, but I can get both of those (using format-date) from the result of the datetime question. Using the datetime question, I'll add a new date field in AGOL which was my main goal.&lt;/P&gt;&lt;P&gt;I will still need to populate the new date field in AGOL for old records, but I see that I do that in Python using a calculated field.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2026 22:43:33 GMT</pubDate>
    <dc:creator>ChuckS</dc:creator>
    <dc:date>2026-07-24T22:43:33Z</dc:date>
    <item>
      <title>Create date object from data and time questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716332#M66671</link>
      <description>&lt;P&gt;I have a survey with date time questions. I need the result of those questions to be strings in AGOL. Now, I need to add a datetime object (from the date time questions) to my feature service. Does anyone know how to do this? I've looked at some documentation but, I'm not seeing a solution. I'd also like to be able to output the date object in the survey using a note.&lt;/P&gt;&lt;P&gt;I've attached my attempt at doing this in an XLSForm.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2026 21:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716332#M66671</guid>
      <dc:creator>ChuckS</dc:creator>
      <dc:date>2026-07-23T21:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create date object from data and time questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716414#M66676</link>
      <description>&lt;P&gt;Date and datetime questions are stored as date type fields while time type questions are stored as a string.&amp;nbsp; That makes it really tough to combine the 2 questions to make calculations.&amp;nbsp; It can be done but sometimes because of the different field types they interact in strange ways. Unless you can't change your form, I would suggest looking at using a datetime question and make your calculation from there.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/dates-and-time-in-survey123/ba-p/895528" target="_blank" rel="noopener"&gt;Dates and Time in Survey123 - Esri Community &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 13:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716414#M66676</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-07-24T13:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create date object from data and time questions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716612#M66682</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763693"&gt;@Neal_t_k&lt;/a&gt;&amp;nbsp;Thanks for your response. Yes, using the datetime question is the solution! Late yesterday, I installed the Dates and Times sample survey and realized that I should be using the datetime question. (I almost started using JavaScript to calculate my date object; I'm glad I didn't take that route.)&lt;/P&gt;&lt;P&gt;Originally, I used separate date and time questions because I needed separate date and time strings in local time, but I can get both of those (using format-date) from the result of the datetime question. Using the datetime question, I'll add a new date field in AGOL which was my main goal.&lt;/P&gt;&lt;P&gt;I will still need to populate the new date field in AGOL for old records, but I see that I do that in Python using a calculated field.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 22:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-date-object-from-data-and-time-questions/m-p/1716612#M66682</guid>
      <dc:creator>ChuckS</dc:creator>
      <dc:date>2026-07-24T22:43:33Z</dc:date>
    </item>
  </channel>
</rss>

