<?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: Get date value from end field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354160#M53094</link>
    <description>&lt;P&gt;Have you tried &lt;STRONG&gt;type = date&lt;/STRONG&gt; and &lt;STRONG&gt;appearance = hidden&lt;/STRONG&gt;? The server may interpret that better.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 17:07:14 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2023-11-28T17:07:14Z</dc:date>
    <item>
      <title>Get date value from end field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1353563#M53058</link>
      <description>&lt;P&gt;Howdy!&lt;/P&gt;&lt;P&gt;I'm using Survey123 Connect v. 3.19, Enterprise 10.9. I'm trying to calculate just the date value, as a date type, from the 'end' question type (named end_date), but not having any luck.&lt;/P&gt;&lt;P&gt;I can get it as a string value using &lt;FONT color="#0000FF"&gt;format-date(${end_date}, "%Y-%m-%d")&lt;/FONT&gt;, but I need a date value. Wrapping the format-date function in &lt;FONT color="#0000FF"&gt;date() &lt;FONT color="#000000"&gt;gives me a date, but with time as well. If I use just&amp;nbsp;&lt;FONT color="#0000FF"&gt;${end_date}&lt;/FONT&gt; in the calculation, I get the epoch date format, ex.&amp;nbsp;1701102066.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;Is there a way to do this, or am I stuck with the time value as well? Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 16:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1353563#M53058</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2023-11-27T16:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get date value from end field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1353750#M53070</link>
      <description>&lt;P&gt;Where are you using this date value? If it is inside of the Esri environment, I feel like the addition of time is something new. We have a date only field that time is being annoying injected into. But in our case, things worked fine in 10.9, but started acting up in 11.0.&lt;/P&gt;&lt;P&gt;If this is some other database, your format-date() should be enough. I regularly dump data like that into SharePoint without issue (A formatted date, not Esri's Epoch date. That requires converting in Power Automate first).&lt;/P&gt;&lt;P&gt;I assume you are using a date field?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1701116537038.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87203i757E8FF07C22F9F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1701116537038.png" alt="abureaux_0-1701116537038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 20:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1353750#M53070</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-11-27T20:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get date value from end field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354154#M53093</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/454586"&gt;@abureaux&lt;/a&gt;&amp;nbsp;. Currently trying a hidden field type, esriFieldTypeDate. Format-date gives me a text value in the correct format, but I want an actual plain date value data type. I can live without it, but would prefer it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregKeith_0-1701190834259.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87316iA5FAA5247B1BE309/image-size/large?v=v2&amp;amp;px=999" role="button" title="GregKeith_0-1701190834259.png" alt="GregKeith_0-1701190834259.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 17:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354154#M53093</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2023-11-28T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get date value from end field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354160#M53094</link>
      <description>&lt;P&gt;Have you tried &lt;STRONG&gt;type = date&lt;/STRONG&gt; and &lt;STRONG&gt;appearance = hidden&lt;/STRONG&gt;? The server may interpret that better.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 17:07:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354160#M53094</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-11-28T17:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get date value from end field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354244#M53098</link>
      <description>&lt;P&gt;I'll give that a try. In general, don't like hidden appearance because it still takes up space on the form, but since it's at the end it may not matter.&lt;/P&gt;&lt;P&gt;Edit: still shows time. Not actual time, defaults to 12:00 pm. Oh well.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 22:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/get-date-value-from-end-field/m-p/1354244#M53098</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2023-11-28T22:12:14Z</dc:date>
    </item>
  </channel>
</rss>

