<?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: Date value showing in milliseconds in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395723#M70051</link>
    <description>&lt;P&gt;Not in file geodatabase. I want to run this on feature layer which is published in ArcGIS Portal and accessing the data through ArcGIS API for Python.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 09:33:25 GMT</pubDate>
    <dc:creator>Manager_HMWSSBCDC</dc:creator>
    <dc:date>2024-03-14T09:33:25Z</dc:date>
    <item>
      <title>Date value showing in milliseconds</title>
      <link>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395114#M70039</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manager_HMWSSBCDC_0-1710316276185.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97834i84EC797DADC83756/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manager_HMWSSBCDC_0-1710316276185.png" alt="Manager_HMWSSBCDC_0-1710316276185.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I replaced query with objectid = 1 or anything, I'm getting the result but with recvddate column of Date data type I'm the getting the error that is in above pic.&lt;BR /&gt;&lt;BR /&gt;When I run the script with objectid = 1, i had seen the column value of recvddate is in milliseconds format&lt;BR /&gt;like&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;'recvddate': 1672511463000&lt;/PRE&gt;&lt;P&gt;My actual requirement is I want to filter all the records that are greater than some time value and delete those records.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 07:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395114#M70039</guid>
      <dc:creator>Manager_HMWSSBCDC</dc:creator>
      <dc:date>2024-03-13T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date value showing in milliseconds</title>
      <link>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395158#M70042</link>
      <description>&lt;P&gt;in a file geodatabase?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm" target="_blank" rel="noopener"&gt;SQL reference for query expressions used in ArcGIS—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Here is an example of a query that will return all records on or after January 1, 2011, for a date-time field from a file geodatabase data source:&lt;/P&gt;&lt;PRE&gt;INCIDENT_DATE &amp;gt;= timestamp '2011-01-01 00:00:00'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When a time that is not null is stored with the dates (for instance, January 12, 1999, 04:00:00), querying the date only will not return the record. When you pass only a date to a date-time field, it fills the time with zeros and retrieves only the records in which the time is 12:00:00 a.m.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395158#M70042</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-03-13T10:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date value showing in milliseconds</title>
      <link>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395723#M70051</link>
      <description>&lt;P&gt;Not in file geodatabase. I want to run this on feature layer which is published in ArcGIS Portal and accessing the data through ArcGIS API for Python.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 09:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/date-value-showing-in-milliseconds/m-p/1395723#M70051</guid>
      <dc:creator>Manager_HMWSSBCDC</dc:creator>
      <dc:date>2024-03-14T09:33:25Z</dc:date>
    </item>
  </channel>
</rss>

