<?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: Add 1-day to today() in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338139#M4646</link>
    <description>&lt;P&gt;As an example...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;datetime.date.today()
datetime.date(2023, 10, 16)

datetime.date.today() + datetime.timedelta(days=10)
datetime.date(2023, 10, 26)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 16 Oct 2023 10:03:00 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-10-16T10:03:00Z</dc:date>
    <item>
      <title>Add 1-day to today()</title>
      <link>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338105#M4645</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Desktop.&amp;nbsp; I'm trying to update a date field in a featureclass using the following code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;rows.updateRow((datetime.date.today() + datetime.timedelta(&lt;SPAN&gt;days&lt;/SPAN&gt;=+&lt;SPAN&gt;1&lt;/SPAN&gt;)))&lt;/PRE&gt;&lt;P&gt;I'm just trying to add 1-day to today().&amp;nbsp; The above code is triggering a TypeError: argument must be sequence of values. Seems I may be using timedelta wrong?&amp;nbsp; Maybe there is a better way?&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 07:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338105#M4645</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-10-16T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add 1-day to today()</title>
      <link>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338139#M4646</link>
      <description>&lt;P&gt;As an example...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;datetime.date.today()
datetime.date(2023, 10, 16)

datetime.date.today() + datetime.timedelta(days=10)
datetime.date(2023, 10, 26)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Oct 2023 10:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338139#M4646</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-16T10:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add 1-day to today()</title>
      <link>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338195#M4647</link>
      <description>&lt;P&gt;Thank you Dan for you your reply.&amp;nbsp; I was already using your #4 example.&amp;nbsp; Looks like I had a paranthesis issue in my code. What I found out, I needed to change the code:&lt;/P&gt;&lt;P&gt;from&lt;BR /&gt;rows.updateRow((datetime.date.today() + datetime.timedelta(days=+1)))&lt;BR /&gt;to&lt;BR /&gt;rows.updateRow([datetime.date.today() + datetime.timedelta(days=1)])&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 13:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/add-1-day-to-today/m-p/1338195#M4647</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-10-16T13:32:53Z</dc:date>
    </item>
  </channel>
</rss>

