<?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 Unable to Select by Attribute by Date/Time for AGOL hosted feature layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468404#M23606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for some cross-posting with the ArcGIS Pro community.&amp;nbsp; I am using Pro 2.2.4 and am unable to select by attribute for date/time when the data are an AGOL hosted feature layer.&amp;nbsp; I do not have any issues with date queries for file-gdbms, SDE and shapefiles.&amp;nbsp; Interestingly, the new Crime Analysis Select by Date and Time gp executes the query against an AGOL feature layer without issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;IMG alt="Select layer by attribute gp - Timestamp" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433689_SelectbyDate.JPG" /&gt;&lt;IMG alt="Select layer by attribute gp - Timestamp SQL" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433690_SelectbyDateSQL.JPG" /&gt;&lt;IMG alt="Select by Date and Time Crime Analysis gp" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433712_SelectbyDateandTimeCA.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2019 18:21:23 GMT</pubDate>
    <dc:creator>DeenaBowman</dc:creator>
    <dc:date>2019-01-18T18:21:23Z</dc:date>
    <item>
      <title>Unable to Select by Attribute by Date/Time for AGOL hosted feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468404#M23606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for some cross-posting with the ArcGIS Pro community.&amp;nbsp; I am using Pro 2.2.4 and am unable to select by attribute for date/time when the data are an AGOL hosted feature layer.&amp;nbsp; I do not have any issues with date queries for file-gdbms, SDE and shapefiles.&amp;nbsp; Interestingly, the new Crime Analysis Select by Date and Time gp executes the query against an AGOL feature layer without issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;IMG alt="Select layer by attribute gp - Timestamp" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433689_SelectbyDate.JPG" /&gt;&lt;IMG alt="Select layer by attribute gp - Timestamp SQL" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433690_SelectbyDateSQL.JPG" /&gt;&lt;IMG alt="Select by Date and Time Crime Analysis gp" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433712_SelectbyDateandTimeCA.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2019 18:21:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468404#M23606</guid>
      <dc:creator>DeenaBowman</dc:creator>
      <dc:date>2019-01-18T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Select by Attribute by Date/Time for AGOL hosted feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468405#M23607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upgraded to 2.3,&amp;nbsp;but issue is ongoing when timestamp is used when querying a&amp;nbsp;AGOL hosted feature service;&amp;nbsp;the timestamp is&amp;nbsp;automatically added when using the clause.&amp;nbsp; However, if the timestamp is removed&amp;nbsp;from the&amp;nbsp;SQL&amp;nbsp;the query is valid and it executes accordingly.&lt;/P&gt;&lt;P&gt;.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/435845_SelectbyDateNoTimestamp.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 17:32:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468405#M23607</guid>
      <dc:creator>DeenaBowman</dc:creator>
      <dc:date>2019-01-25T17:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Select by Attribute by Date/Time for AGOL hosted feature layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468406#M23608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still encountering this same issue with ArcGIS Pro version 2.4.1.&amp;nbsp; Was there a bug ever issued for this?&amp;nbsp; I ended up looking at the SQL and deleted the "timestamp" portion and had success as you did, thank you for this post otherwise I could not have completed my selections and models that heavily depend on the date and time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Katie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 16:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-select-by-attribute-by-date-time-for/m-p/468406#M23608</guid>
      <dc:creator>KatherinePadilla</dc:creator>
      <dc:date>2020-01-03T16:39:29Z</dc:date>
    </item>
  </channel>
</rss>

