<?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 Build a unique ID using now()? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770427#M3628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to build an ID number based on the date and time as shown below:&lt;/P&gt;&lt;P&gt;YYYYMMDDHrHrMnMn&lt;/P&gt;&lt;P&gt;Y=Year, M=Month, D=Day, Hr=Hour, Mn=Min&lt;/P&gt;&lt;P&gt;I am trying the now() function in the calculation column where I get a number reported as a value (see image) which .&amp;nbsp; Does anyone know how to interpret this value so I can convert it to my format?&lt;/P&gt;&lt;P&gt;Or does anyone know another way to create such an ID in the xls form?&lt;/P&gt;&lt;P&gt;Thanks for any help and or ideas!&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406249_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 19:39:46 GMT</pubDate>
    <dc:creator>EdApalinski</dc:creator>
    <dc:date>2018-05-10T19:39:46Z</dc:date>
    <item>
      <title>Build a unique ID using now()?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770427#M3628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to build an ID number based on the date and time as shown below:&lt;/P&gt;&lt;P&gt;YYYYMMDDHrHrMnMn&lt;/P&gt;&lt;P&gt;Y=Year, M=Month, D=Day, Hr=Hour, Mn=Min&lt;/P&gt;&lt;P&gt;I am trying the now() function in the calculation column where I get a number reported as a value (see image) which .&amp;nbsp; Does anyone know how to interpret this value so I can convert it to my format?&lt;/P&gt;&lt;P&gt;Or does anyone know another way to create such an ID in the xls form?&lt;/P&gt;&lt;P&gt;Thanks for any help and or ideas!&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406249_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 19:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770427#M3628</guid>
      <dc:creator>EdApalinski</dc:creator>
      <dc:date>2018-05-10T19:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Build a unique ID using now()?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770428#M3629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date and time are internally stored as 'epoch time' - the number of milliseconds from 1 Jan. 1970. &amp;nbsp;To create a human-readable time, you need to use the format-date() function - look for the 'Date Formatting' section in&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;. &amp;nbsp;Also,&amp;nbsp;&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&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2017/11/25/creating-ticket-numbers-in-survey123-for-arcgis"&gt;Creating 'Ticket Numbers' in Survey123 for ArcGIS&lt;/A&gt;&amp;nbsp;may be helpful blog articles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 20:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770428#M3629</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-10T20:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Build a unique ID using now()?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770429#M3630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; found exactly what I needed in the Creating Ticket Numbers blog.&amp;nbsp; If anyone else is interested I used: &lt;STRONG&gt;format-date(now(), '%y%m%d%H%M%S')&lt;/STRONG&gt; in the calculation field to get the auto-populated ID.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406349_Date_ID.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 15:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/770429#M3630</guid>
      <dc:creator>EdApalinski</dc:creator>
      <dc:date>2018-05-11T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Build a unique ID using now()?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/1264156#M47803</link>
      <description>&lt;P&gt;This is working fine when I create survey 1st time. But I want to keep that same unique id during edit also. And if user is performing copy action at that time this unique id needs to be regenerated. Would you please guide me how can I achieve this requirement?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 20:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/build-a-unique-id-using-now/m-p/1264156#M47803</guid>
      <dc:creator>AnkiGuna</dc:creator>
      <dc:date>2023-03-03T20:26:32Z</dc:date>
    </item>
  </channel>
</rss>

