<?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 Date from Survey123 in Microsoft Flow in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698844#M12</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to convert the date in my Survey 123 from&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;EPOCH format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Im using MS flow with Survey123 and SQL connectors. The time from the survey123 is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;EPOCH format and i get an error&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #0451a5;"&gt;"We cannot convert the value 1555570800000 to type Date.\r\n"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #0451a5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2019 21:11:48 GMT</pubDate>
    <dc:creator>JevitaWebster</dc:creator>
    <dc:date>2019-04-23T21:11:48Z</dc:date>
    <item>
      <title>Date from Survey123 in Microsoft Flow</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698844#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to convert the date in my Survey 123 from&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;EPOCH format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Im using MS flow with Survey123 and SQL connectors. The time from the survey123 is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;EPOCH format and i get an error&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #0451a5;"&gt;"We cannot convert the value 1555570800000 to type Date.\r\n"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #fffffe; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="color: #0451a5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 21:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698844#M12</guid>
      <dc:creator>JevitaWebster</dc:creator>
      <dc:date>2019-04-23T21:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date from Survey123 in Microsoft Flow</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698845#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jevita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to convert the date is to use the addSeconds function in Flow, dividing the timestamp by 1000 (it's in milliseconds):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;addSeconds('1970-01-01', div(&amp;lt;DATEFIELD&amp;gt;, 1000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That produces a date that you can then format into your preferred string format or use in calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 17:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698845#M13</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-04-24T17:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date from Survey123 in Microsoft Flow</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698846#M14</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/284987"&gt;Jevita Webster&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's an old post you hopefully where able to resolve the issue using the solution suggested by James Tedrick, I thought I would post this article here that provides instructions for this workflow in both Microsoft Power Automate and Integromat for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://support.esri.com/en/Technical-Article/000023954" title="https://support.esri.com/en/Technical-Article/000023954"&gt;How To: Reformat the ArcGIS Survey123 date and time questions in an email notification designed in Microsoft Power Autom…&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2020 13:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/date-from-survey123-in-microsoft-flow/m-p/698846#M14</guid>
      <dc:creator>MJBiazar</dc:creator>
      <dc:date>2020-11-04T13:57:06Z</dc:date>
    </item>
  </channel>
</rss>

