<?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 Querying a date field on a feature layer? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852126#M3880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the Python API to query a feature layer on AGOL, and I'm having issues querying on &lt;STRONG&gt;date fields&lt;/STRONG&gt;. I just want to query one feature layer where the date field is after 2019/03/26. I've tried almost every date format possible with no luck - any help would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I have so far, written in jupyter lab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;item =&amp;nbsp;gis.content.get('itemid')&lt;/P&gt;&lt;P&gt;FL = item.layers[0]&lt;/P&gt;&lt;P&gt;fset = FL.query(where = 'CreationDate &amp;gt; 2019/03/26')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 01:39:16 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-04-03T01:39:16Z</dc:date>
    <item>
      <title>Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852126#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the Python API to query a feature layer on AGOL, and I'm having issues querying on &lt;STRONG&gt;date fields&lt;/STRONG&gt;. I just want to query one feature layer where the date field is after 2019/03/26. I've tried almost every date format possible with no luck - any help would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I have so far, written in jupyter lab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;item =&amp;nbsp;gis.content.get('itemid')&lt;/P&gt;&lt;P&gt;FL = item.layers[0]&lt;/P&gt;&lt;P&gt;fset = FL.query(where = 'CreationDate &amp;gt; 2019/03/26')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 01:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852126#M3880</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-03T01:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852127#M3881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/342633" target="_blank"&gt;Karen Smith&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your code should look like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcgis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;gis &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; GIS
item &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'itemid'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
FL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layers&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
fset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FL&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;query&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;where &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'CreationDate &amp;gt; DATE \'2019-03-26\''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
&lt;SPAN class="comment token"&gt;# use backslashes to escape the single quotes around the date‍‍‍‍‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the answer in this recent blog - thanks to my good old friend G...:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/" title="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/" rel="nofollow noopener noreferrer" target="_blank"&gt;Querying Feature Services: Date-Time Queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;It says&lt;EM&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;&lt;EM&gt;You can query esriFieldTypeDate (date-time) fields in two different ways: by&amp;nbsp;&lt;/EM&gt;&lt;CODE&gt;DATE&amp;nbsp;&lt;/CODE&gt;&lt;EM&gt;or&amp;nbsp;&lt;/EM&gt;&lt;CODE&gt;TIMESTAMP&lt;/CODE&gt;&lt;EM&gt;&amp;nbsp;date functions. Each type of date-time query must include a date function to make sure the query is treated in the proper way.&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;&lt;CODE&gt;&amp;lt;DateField&amp;gt; = DATE 'YYYY-MM-DD'&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;DateField&amp;gt; = TIMESTAMP 'YYYY-MM-DD&amp;nbsp;HH:MI:SS'&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;HTH,&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; padding-right: 60.4167px;"&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852127#M3881</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2021-12-12T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852128#M3882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egge-Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this - unfortunately it's still not working. Error is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unable to perform query. Please check your parameters.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;(Error Code: 400)&lt;/PRE&gt;&lt;P&gt;I've tried both DATE and TIMESTAMP (it's stored as a timestamp, but I don't really care about the time)&lt;/P&gt;&lt;P&gt;Is there anything else I could try? My only other thought is creating a field that is default stored to the time I need to query on, and setting the query to 'CreationDate &amp;gt; StartDate' but I really don't want to do that. There must be an easier way to query a date field!&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Karen&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:29:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852128#M3882</guid>
      <dc:creator>StephenUsmar2</dc:creator>
      <dc:date>2021-12-12T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852129#M3883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/226046" target="_blank"&gt;Stephen Usmar&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/migrated-users/342633" target="_blank"&gt;Karen Smith&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmmmm, it works for me, so maybe it should also work for you ...? I would suggest to try it again. It really comes down to the correct syntax - as soon as the syntax is not completely correct the query will fail. (There is no such thing as slightly correct or more or less OK syntax. Nope, it's got to be perfect, or otherwise it will refuse to run. In that sense computers are just like...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW - I am testing this in ArcGIS Online, which of course always offers the latest and the greatest version (&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;"currentVersion" : 10.61&lt;/SPAN&gt;). So, if you are running an older version of Portal, it might be that this syntax is not yet supported?! (What version are you running?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Anyway, let's try:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you go to your service's REST query page (e.g. &lt;A class="link-titled" href="https://services.arcgis.com/T9FoPe9aYhFYrvPP/arcgis/rest/services/Kast_Sectie_Test/FeatureServer/0/query" title="https://services.arcgis.com/T9FoPe9aYhFYrvPP/arcgis/rest/services/Kast_Sectie_Test/FeatureServer/0/query" rel="nofollow noopener noreferrer" target="_blank"&gt;https://some_place/some_id/arcgis/rest/services/My_Service/FeatureServer/0/query&lt;/A&gt;), the syntax should be:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;CreationDate &amp;gt; DATE '2019-03-26'&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;In your Jupyter Notebook though, the syntax should be:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;fset &lt;SPAN class=""&gt;=&lt;/SPAN&gt; FL&lt;SPAN class=""&gt;.&lt;/SPAN&gt;query&lt;SPAN class=""&gt;(&lt;/SPAN&gt;where &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;'CreationDate &amp;gt; DATE \'2019-03-26\''&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;# i.e. use backslashes to escape the single quotes around the date&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know: is it your version not supporting this functionality OR did you manage to correct the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852129#M3883</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2021-12-12T10:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852130#M3884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm accessing my layers from AGOL, but not sure how to check the version. Would it matter the version of python API installed in my environment?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't even use this query within ArcGIS Pro...and this is with selecting an exact time stamp from my data. Once I've saved the layer into a gdb I can query using this method.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/441155_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the properties of my CreationDate field:&lt;/P&gt;&lt;UL style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;LI style="padding: 0px 0px 3px;"&gt;CreationDate&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;(type: esriFieldTypeDate, alias: CreationDate, SQL Type: sqlTypeOther, length: 8, nullable: true, editable: false)&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be great &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 23:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852130#M3884</guid>
      <dc:creator>StephenUsmar2</dc:creator>
      <dc:date>2019-04-03T23:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852131#M3885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A timestamp would be like:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;fset = FL.query(where = 'CreationDate &amp;gt; TIMESTAMP 1551355736000' )‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 23:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852131#M3885</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2019-04-03T23:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852132#M3886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that's correct? When I use your syntax (with an epoch/UNIX timestamp in&amp;nbsp;milliseconds) I get an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'where' parameter is invalid&lt;/PRE&gt;&lt;P&gt;According to Sarah Scott's blog (&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/" title="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/"&gt;Querying Feature Services: Date-Time Queries&lt;/A&gt;&amp;nbsp;) the syntax - using this converter&amp;nbsp;&lt;A class="link-titled" href="https://www.epochconverter.com/" title="https://www.epochconverter.com/"&gt;https://www.epochconverter.com/&lt;/A&gt;&amp;nbsp;-&amp;nbsp; should indeed be:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;fset = FL.query(where = 'DATE_LATEST_INSPECTION &amp;gt; TIMESTAMP \'2019-02-08 12:08:56\'')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which in my case works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852132#M3886</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-04-04T08:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852133#M3887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karen/Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running out of gas here... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;Following the documentation it works for me and not for you...?!&lt;/P&gt;&lt;P&gt;The only thing I could think of, but that's just a wild guess, is that you are using an incorrect single quote?!&lt;/P&gt;&lt;P&gt;Maybe someone else has an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/852133#M3887</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-04-04T08:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/1104840#M6716</link>
      <description>&lt;P&gt;This worked for me, but I do need something for 3 days ago, which I am working on.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 15:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/1104840#M6716</guid>
      <dc:creator>jhdn490</dc:creator>
      <dc:date>2021-10-05T15:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a date field on a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/1429318#M10001</link>
      <description>&lt;P&gt;Hi Egge-Jan,&lt;BR /&gt;&lt;BR /&gt;Its worked for me but if I want to add filter with date range, Ex:&lt;BR /&gt;&lt;BR /&gt;lyr.query(where="field_name = 'value'" and "date_field = start_date_value AND date_field = end_date_value)&lt;BR /&gt;How to achieve this kind of solution.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 07:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/querying-a-date-field-on-a-feature-layer/m-p/1429318#M10001</guid>
      <dc:creator>Manager_HMWSSBCDC</dc:creator>
      <dc:date>2024-05-10T07:54:31Z</dc:date>
    </item>
  </channel>
</rss>

