<?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: How to field-calculate random dates for a specific time period? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341062#M15019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My read... like the Java-incarnations... is Arcade may be cross-platform... as long as your platforms includes web stuff and you actually make maps... (neither apply to me &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 18:44:33 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-01-23T18:44:33Z</dc:date>
    <item>
      <title>How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341049#M15006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3 style="color: #121212; background-color: #ffffff; font-weight: 600; font-size: 16px; margin: 0px 0px 24px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;How to field-calculate random dates for a specific time period&amp;nbsp;using Python&amp;nbsp;when calculating date field in ArcGIS Pro?&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #777777; background-color: #ffffff; font-weight: 300; font-size: 16px; margin: 24px 0px;"&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;It is something I need to do when creating fictitious demo data. &amp;nbsp;For example, I&amp;nbsp;would like to create random dates &amp;amp; time between 01/01/2017 00:00&lt;SPAN style="background-color: #ffffff;"&gt;:00&amp;nbsp;AM&amp;nbsp;&lt;/SPAN&gt;and 12/31/2017 11:59:00 PM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Please help&amp;nbsp;if you have any idea! Thank you very much, guys!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;Thao Nguyen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 05:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341049#M15006</guid>
      <dc:creator>ThaoNDP</dc:creator>
      <dc:date>2018-01-23T05:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341050#M15007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a variety of ways to calculate random dates.&lt;/P&gt;&lt;P&gt;Have you checked out web solutions using python?&amp;nbsp; They could obviously be implemented in the field calculator.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/553303/generate-a-random-date-between-two-other-dates"&gt;https://stackoverflow.com/questions/553303/generate-a-random-date-between-two-other-dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.daveoncode.com/2013/05/20/generate-random-dates-in-python-using-datetime-and-random-modules/"&gt;http://www.daveoncode.com/2013/05/20/generate-random-dates-in-python-using-datetime-and-random-modules/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or are you looking for a builtin function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 06:07:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341050#M15007</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-23T06:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341051#M15008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333300;"&gt;Actually, I've tried to calculate field following those solutions, but the result was not&amp;nbsp;as I&amp;nbsp;expected. The return should be date + timestamp such as&amp;nbsp;&lt;SPAN style="background-color: #ffffff; font-weight: 300;"&gt;01/01/2017 00:00&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: 300;"&gt;:00&amp;nbsp;AM. If you have any exact python example for my reference, it would be highly appreciated. Thank you very much.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 07:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341051#M15008</guid>
      <dc:creator>ThaoNDP</dc:creator>
      <dc:date>2018-01-23T07:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341052#M15009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To calculate a random date based on the link provided by Dan you could do something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/394538_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Block:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;randomDate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;start&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; end&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; random
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; time
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; datetime &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; datetime
&amp;nbsp;&amp;nbsp;&amp;nbsp; frmt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'%d-%m-%Y %H:%M'&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; stime &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mktime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;strptime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;start&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; frmt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; etime &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mktime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;strptime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;end&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; frmt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; ptime &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; stime &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; random&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;random&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;etime &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; stime&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; dt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; datetime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fromtimestamp&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mktime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;localtime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ptime&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; dt&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the range for which the random dates should be generated. For example:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;randomDate&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"20-01-2018 13:30"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"23-01-2018 04:50"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resulting dates will be in this range in the output date field:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/394539_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341052#M15009</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T16:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341053#M15010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As alternative to python you can also select Arcade as language and use this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/394540_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In this case the range of dates is adjusted to the one you&amp;nbsp;asked for (with a slight change):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: 300;"&gt;01/01/2017 00:00&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px; font-weight: 300;"&gt;:00&amp;nbsp;AM&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: 300;"&gt;and 12/31/2017 11:59:&lt;SPAN style="color: #ff0000;"&gt;59&lt;/SPAN&gt; PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arcade expression:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; start_date &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Date&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1483246800000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; end_date &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Date&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1514782799000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; seconds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;DateDiff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;end_date&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; start_date&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"seconds"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; rnd_sec &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Random&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; seconds&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; rnd_date &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;DateAdd&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;start_date&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; rnd_sec&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"seconds"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; rnd_date&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This site ( &lt;A class="link-titled" href="https://www.epochconverter.com" title="https://www.epochconverter.com" rel="nofollow noopener noreferrer" target="_blank"&gt;Epoch Converter - Unix Timestamp Converter&lt;/A&gt;&amp;nbsp;) might help to determine the number of miliseconds since 1/1/1970 or you can just use this format&amp;nbsp;&lt;EM&gt;&lt;SPAN style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;Date&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;( value , month , day , hour , minute , second , millisecond )&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;Output dates will be like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/394542_pastedImage_46.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;And when you look at the result, you will notice that the result is &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; random for each record (which I would have expected) but random for each run of the field calculator.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;A href="https://community.esri.com/migrated-users/45316" target="_blank"&gt;Kory Kramer&lt;/A&gt;‌ (sorry to bother you again),&amp;nbsp;am I missing something in order to make the Random generate a random result for each record?&amp;nbsp;The help doesn't say much:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/math_functions/#random" title="https://developers.arcgis.com/arcade/function-reference/math_functions/#random" rel="nofollow noopener noreferrer" target="_blank"&gt;Math Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341053#M15010</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T16:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341054#M15011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Random, whether math or numpy, should&amp;nbsp; generate a random number unless the randomseed is somehow set&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341054#M15011</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-23T15:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341055#M15012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometime when working with the field calculator the random function seems to hold a static seed as if the function throught the calculation remains as a static variable...I have ran into problems using random numbers in the past within the field calculator so have moved that logic to the database in my shop .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resetting the seed.... would that help?&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/27276135/python-random-system-time-seed" title="https://stackoverflow.com/questions/27276135/python-random-system-time-seed"&gt;Python: Random System time seed - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341055#M15012</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2018-01-23T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341056#M15013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌, don't be tempted by the dark side/Arcade. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; Arcade is, in many ways, classic Esri.&amp;nbsp; Why work within existing frameworks when you can create something unique and special that no one else will adopt! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341056#M15013</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-01-23T15:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341057#M15014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, there are cool things you can do with Arcade (see for instance what I posted here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-10692"&gt;Create pop-ups in ArcGIS Online with conditional images using Arcade&lt;/A&gt;&amp;nbsp;) and I can use this in more places than I will be able to with Python. Arcade is still in development, but we will see some nice features being released in the near future which will require &lt;A class="link-titled" href="https://developers.arcgis.com/arcade/" title="https://developers.arcgis.com/arcade/"&gt;ArcGIS Arcade | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;. .&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341057#M15014</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-23T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341058#M15015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been down that 'Avenue' before&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341058#M15015</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-23T18:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341059#M15016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL. However, I don't think Avenue was used in ArcInfo and ArcPad. Arcade is&amp;nbsp;more cross platform....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341059#M15016</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-23T18:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341060#M15017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"I can use this in more places than I will be able to with Python," [as long as all of those places are ArcGIS].&amp;nbsp; I doubt anyone else will adopt Arcade, and why should they when JavaScript, Python, and others already exist and are broadly adopted beyond a single platform.&amp;nbsp; Whatever the merits of Arcade are, creating a new expression language/syntax takes a very self-centered view of the geospatial and data world.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:21:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341060#M15017</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-01-23T18:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341061#M15018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arcade is pretty much the same as JavaScript (although not everything in JavaScript is supported in Arcade). It will not replace Python, it is something that will provide more possibilities in parts where we cannot use Python for instance (like the pop-up window in a web map for instance in the link I shared earlier). Maybe you feel differently when in the future the true potential of Arcade is revealed.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341061#M15018</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-23T18:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341062#M15019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My read... like the Java-incarnations... is Arcade may be cross-platform... as long as your platforms includes web stuff and you actually make maps... (neither apply to me &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341062#M15019</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-23T18:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to field-calculate random dates for a specific time period?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341063#M15020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow your steps, I did it already. Many thanks!&amp;nbsp;&lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 02:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-field-calculate-random-dates-for-a-specific/m-p/341063#M15020</guid>
      <dc:creator>ThaoNDP</dc:creator>
      <dc:date>2018-01-24T02:55:44Z</dc:date>
    </item>
  </channel>
</rss>

