<?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: Help me calculate field records with small python code in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328828#M73077</link>
    <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 18:17:43 GMT</pubDate>
    <dc:creator>shotatskhovrebashvili</dc:creator>
    <dc:date>2023-09-14T18:17:43Z</dc:date>
    <item>
      <title>Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328653#M73052</link>
      <description>&lt;P&gt;I have a python code that works for a single record:&lt;/P&gt;&lt;P&gt;from datetime import datetime, timedelta&lt;BR /&gt;utc = datetime(1980, 1, 6) + timedelta(seconds=&lt;STRONG&gt;1325841623&lt;/STRONG&gt; - (35 - 17))&lt;BR /&gt;print(utc)&lt;/P&gt;&lt;P&gt;Result:&amp;nbsp;&lt;STRONG&gt;2022-01-10 09:20:05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I modify the code so it can calculate each record in the field by that formula?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328653#M73052</guid>
      <dc:creator>shotatskhovrebashvili</dc:creator>
      <dc:date>2023-09-14T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328656#M73053</link>
      <description>&lt;P&gt;What's the input/value that changes across the records? Is it the date (&lt;SPAN&gt;1980, 1, 6)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:09:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328656#M73053</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-09-14T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328658#M73054</link>
      <description>&lt;P&gt;The input values are GPS seconds, like:&amp;nbsp;&lt;STRONG&gt;1325841623&lt;/STRONG&gt; and after using the formula you get the date in UTC:&amp;nbsp;&lt;STRONG&gt;2022-01-10 09:20:05&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328658#M73054</guid>
      <dc:creator>shotatskhovrebashvili</dc:creator>
      <dc:date>2023-09-14T13:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328662#M73056</link>
      <description>&lt;P&gt;I have thousands of records to be converted. Here are few examples:&lt;/P&gt;&lt;P&gt;1325841623;&amp;nbsp;1325841625;&amp;nbsp;1325841626;&amp;nbsp;1325841627;&amp;nbsp;1325841628;&amp;nbsp;1325841629;&amp;nbsp;1325841630;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328662#M73056</guid>
      <dc:creator>shotatskhovrebashvili</dc:creator>
      <dc:date>2023-09-14T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328758#M73065</link>
      <description>&lt;P&gt;Okay, so all you have to do is pop open your Field Calculator, write a simple function, and apply to your target date field like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EarlMedina_0-1694708186311.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80682i00CDD7264961FD8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EarlMedina_0-1694708186311.png" alt="EarlMedina_0-1694708186311.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With your sample values, I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EarlMedina_1-1694708225174.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80683i997C92D1A3E6FC43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EarlMedina_1-1694708225174.png" alt="EarlMedina_1-1694708225174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 16:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328758#M73065</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-09-14T16:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help me calculate field records with small python code</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328828#M73077</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 18:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-me-calculate-field-records-with-small-python/m-p/1328828#M73077</guid>
      <dc:creator>shotatskhovrebashvili</dc:creator>
      <dc:date>2023-09-14T18:17:43Z</dc:date>
    </item>
  </channel>
</rss>

