<?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: Calculate Field won't update a date field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407944#M81662</link>
    <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I did exactly the workflow you described prior to my post, with no success.&amp;nbsp; I tried python, sql, arcade, same result.&amp;nbsp; Mystery...Regards, Jay&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 13:32:56 GMT</pubDate>
    <dc:creator>JayHodny</dc:creator>
    <dc:date>2024-04-10T13:32:56Z</dc:date>
    <item>
      <title>Calculate Field won't update a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1404584#M81259</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; I am trying to update a date field to Null in a Server service published from Pro.&amp;nbsp; The date data come from a Survey123 Connect form field, passed to the corresponding Server feature service fields via a python script.&amp;nbsp; I am testing a workflow and need to return the service fields for my point features to Null.&amp;nbsp; Calculate Field works as expected for the other fields (non-date).&amp;nbsp; I can manually update the date field value to Null be deleting the value in each record.&amp;nbsp; I can't figure out why I can do this manually, yet the Calculate Field tool will not do the same.&amp;nbsp; I have tried SQL, Arcade and Python code options in the tool, same 99999 error for each.&amp;nbsp; What simple thing am I missing?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayHodny_0-1712065959220.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99747iDC30208D9CA96233/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayHodny_0-1712065959220.png" alt="JayHodny_0-1712065959220.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JayHodny_0-1712065959220.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1404584#M81259</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2024-04-02T13:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field won't update a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1405020#M81326</link>
      <description>&lt;P&gt;So for the selected row in question, right click tghe request_completed_date field and click the Calculate Field command.&amp;nbsp; This opens the Calculate Field GP tool.&amp;nbsp; Make sure the Expression Type is Python.&amp;nbsp; Select the date/time field, if necessary, and for the calculation type the None.&amp;nbsp; This will set the selected field to a Null value.&amp;nbsp; See my screen grab below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="calculateFieldNull.JPG" style="width: 426px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99865i08EA8D816B5DCA3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="calculateFieldNull.JPG" alt="calculateFieldNull.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;calculateFieldNull.JPG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 04:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1405020#M81326</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2024-04-03T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field won't update a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407944#M81662</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I did exactly the workflow you described prior to my post, with no success.&amp;nbsp; I tried python, sql, arcade, same result.&amp;nbsp; Mystery...Regards, Jay&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407944#M81662</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2024-04-10T13:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field won't update a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407954#M81665</link>
      <description>&lt;P&gt;Have you tried using an &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/updatecursor-class.htm" target="_blank"&gt;UpdateCursor—ArcGIS Pro | Documentation&lt;/A&gt;?&amp;nbsp; If so, any error messages?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407954#M81665</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2024-04-10T13:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field won't update a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407960#M81667</link>
      <description>&lt;P&gt;Hi Joshua, I have not tried Update Cursor.&amp;nbsp; I am a Python novice, but I may give it a try.&amp;nbsp; Thank you for your help. Regards, Jay&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-won-t-update-a-date-field/m-p/1407960#M81667</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2024-04-10T13:59:51Z</dc:date>
    </item>
  </channel>
</rss>

