<?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: Query Date Field for Hosted Layer in ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809178#M33498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to CAST the date string to get it to work like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateSmoke BETWEEN CAST('2018-08-01' AS Date) AND CAST('2018-08-31' AS Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateSmoke &amp;gt; CAST('2018-08-01' AS Date)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2018 20:39:03 GMT</pubDate>
    <dc:creator>RobertMEIER</dc:creator>
    <dc:date>2018-09-12T20:39:03Z</dc:date>
    <item>
      <title>Query Date Field for Hosted Layer in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809176#M33496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to query for a date range in ArcGIS Pro for a hosted data layer.&amp;nbsp; It gives me a "ERROR 000358: Invalid expression" when I try to select a date using the select by attributes tool.&amp;nbsp; What is the correct format to use when querying for dates on hosted data?&amp;nbsp; &amp;nbsp;I would like to make this query the first step in a task.&amp;nbsp; Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809176#M33496</guid>
      <dc:creator>Jonathanraine1</dc:creator>
      <dc:date>2018-03-14T22:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query Date Field for Hosted Layer in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809177#M33497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too am completed confused by this. All I'm trying to do is use Pro to "Select by Attributes" as shown in the attached screenshot. However, I'm continually told "There was an error with the expression" despite using the query builder. Things to note:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This is hosted Feature Service made using Survey123&lt;/LI&gt;&lt;LI&gt;[Date Operated] is a datefield&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="415230" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/415230_pastedImage_1.png" /&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;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;‌, &lt;A href="https://community.esri.com/migrated-users/3436"&gt;David Watkins&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809177#M33497</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-07-26T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query Date Field for Hosted Layer in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809178#M33498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to CAST the date string to get it to work like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateSmoke BETWEEN CAST('2018-08-01' AS Date) AND CAST('2018-08-31' AS Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateSmoke &amp;gt; CAST('2018-08-01' AS Date)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/query-date-field-for-hosted-layer-in-arcgis-pro/m-p/809178#M33498</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2018-09-12T20:39:03Z</dc:date>
    </item>
  </channel>
</rss>

