<?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 formatting issues in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/date-formatting-issues/m-p/1296482#M49742</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/689961"&gt;@MatthewMorehead&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is due to the calculation being in the same line as the date question. This causes a circular dependency loop as a question cannot be calculated with it's own value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't need the formatted date stored in a field in the feature service you can take the same calculation and place it in the concat() function within the instance_name column. If you do want the formatted string in a field in the feature service you can add a calculate question following the&amp;nbsp;DATEOFSURVEY question and reference that calculate question in the instance_name.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 20:55:51 GMT</pubDate>
    <dc:creator>ZacharySutherby</dc:creator>
    <dc:date>2023-06-06T20:55:51Z</dc:date>
    <item>
      <title>Date formatting issues</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-formatting-issues/m-p/1296423#M49738</link>
      <description>&lt;P&gt;I am trying to format the date in my survey into YYYYMMDD so that it shows up nicely in my instance_name setting field. I am currently trying to use the following formula to format the date in the calculation line of my date question :&lt;/P&gt;&lt;P&gt;format-date(${DATEOFSURVEY}, '%Y: %n: %e')&lt;/P&gt;&lt;P&gt;Connect keeps returning an error saying it is "invalid"&lt;/P&gt;&lt;P&gt;XLSForm is attached, any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 18:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-formatting-issues/m-p/1296423#M49738</guid>
      <dc:creator>MatthewMorehead</dc:creator>
      <dc:date>2023-06-06T18:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting issues</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-formatting-issues/m-p/1296482#M49742</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/689961"&gt;@MatthewMorehead&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is due to the calculation being in the same line as the date question. This causes a circular dependency loop as a question cannot be calculated with it's own value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't need the formatted date stored in a field in the feature service you can take the same calculation and place it in the concat() function within the instance_name column. If you do want the formatted string in a field in the feature service you can add a calculate question following the&amp;nbsp;DATEOFSURVEY question and reference that calculate question in the instance_name.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 20:55:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-formatting-issues/m-p/1296482#M49742</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2023-06-06T20:55:51Z</dc:date>
    </item>
  </channel>
</rss>

