<?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 datetime from separate date and time fields  in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767117#M2742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still trying to understand this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that format-date and format-time&amp;nbsp;is used convert to dates and times to text as you said in this &lt;A _jive_internal="true" href="https://community.esri.com/thread/200385-survey123-date-time-calculation"&gt;post &lt;/A&gt;"The format-date function should not be used - that's for generating a human-readable string from a date". I thought that Time was stored as text according to the &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis"&gt;Dates and Time in Survey123 for ArcGIS blog&lt;/A&gt;.&amp;nbsp;It doesn't make sense to me that I would need to use format-date on a time field that is already stored as text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 19:29:10 GMT</pubDate>
    <dc:creator>MikeOnzay</dc:creator>
    <dc:date>2018-05-04T19:29:10Z</dc:date>
    <item>
      <title>Create datetime from separate date and time fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767115#M2740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have separate date, time fields in a form that&amp;nbsp;I want to concatenate into one datetime field. I'm following the suggestion that James wrote about in this &lt;A _jive_internal="true" href="https://community.esri.com/thread/200385-survey123-date-time-calculation"&gt;post&lt;/A&gt;. I'm not using utcoffset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="datetime table" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/405631_datetime_table.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why I'm getting what looks like a date value between my date&amp;nbsp;and time (shown in a note below). Appointment Time is a time field which is only supposed to store time as a string. I can see the string value in the validate input window in SurveyConnect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="datetime results" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/405650_datetime_results.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 17:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767115#M2740</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-05-03T17:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create datetime from separate date and time fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767116#M2741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to apply date-format to the time question as well - times are internally representing as epoch time (milliseconds from 1/1/1970 00:00 UTC), which is what is being displayed.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 18:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767116#M2741</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-04T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create datetime from separate date and time fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767117#M2742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still trying to understand this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that format-date and format-time&amp;nbsp;is used convert to dates and times to text as you said in this &lt;A _jive_internal="true" href="https://community.esri.com/thread/200385-survey123-date-time-calculation"&gt;post &lt;/A&gt;"The format-date function should not be used - that's for generating a human-readable string from a date". I thought that Time was stored as text according to the &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis"&gt;Dates and Time in Survey123 for ArcGIS blog&lt;/A&gt;.&amp;nbsp;It doesn't make sense to me that I would need to use format-date on a time field that is already stored as text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 19:29:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767117#M2742</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-05-04T19:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create datetime from separate date and time fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767118#M2743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When time is written to the feature service, it is stored as text; while in the app, it is kept in the same data type as a date- this allows time calculations (i.e., 20 minutes into the future) to occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 19:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-datetime-from-separate-date-and-time-fields/m-p/767118#M2743</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-04T19:34:23Z</dc:date>
    </item>
  </channel>
</rss>

