<?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 ArcMap - Trim left in Attribute table? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379741#M14722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to trim everything after each date? We'd like to remove all the 4:00:00 AM from the database at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="418892" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/418892_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 16:48:23 GMT</pubDate>
    <dc:creator>JordanMiller4</dc:creator>
    <dc:date>2018-08-16T16:48:23Z</dc:date>
    <item>
      <title>ArcMap - Trim left in Attribute table?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379741#M14722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to trim everything after each date? We'd like to remove all the 4:00:00 AM from the database at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="418892" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/418892_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 16:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379741#M14722</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2018-08-16T16:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap - Trim left in Attribute table?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379742#M14723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as your date filed is not controlled by edit tracking, you should be able to use the field calculator with the Python parser this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/418893_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 18:02:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379742#M14723</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-08-16T18:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap - Trim left in Attribute table?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379743#M14724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calling &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;time.strftime&lt;/SPAN&gt; this way will result in the current time as returned by &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;localtime()&lt;/SPAN&gt; being populated in the field, which isn't my understanding of what the OP wants.&amp;nbsp; The following will keep the current date and strip the time when working with Field Calculator:&amp;nbsp; &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;!DATE_FIELD!.split()[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 03:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379743#M14724</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-08-20T03:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap - Trim left in Attribute table?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379744#M14725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting; I tried it before I posted it and thought it trimmed it as the op was hoping for...&amp;nbsp; I'll try it again when I get into the office....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited a later at the office:&amp;nbsp; Yep; you are 100% correct Joshua!&amp;nbsp; As I recall I, I tested it on a new test table/date attribute so it looked like it worked.&amp;nbsp; For the op, here is what happens to existing data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Existing date field:&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/419071_pastedImage_1.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the edit as I showed:&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/419087_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No bueno!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go with Joshua's solution!&amp;nbsp; Muy Bueno!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;STRONG&gt; :&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;would you please give the answer to JosHua?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 12:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379744#M14725</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-08-20T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap - Trim left in Attribute table?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379745#M14726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would if I could but my powers don't extend to Enterprise&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/289244"&gt;Michelle Mathias&lt;/A&gt;‌ could you use the wand of correctness on Josh's post if Jordan doesn't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 22:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcmap-trim-left-in-attribute-table/m-p/379745#M14726</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-08-20T22:12:46Z</dc:date>
    </item>
  </channel>
</rss>

