<?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: How do I create a select statement for datepart for a definition query in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142438#M162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try something like the following to specify a date range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;"DateField" &amp;gt;= date '05/01/2011 00:00:00' AND "DateField" &amp;lt; date '06/01/2011 00:00:00'&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this as a Definition query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 23:37:54 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-06-30T23:37:54Z</dc:date>
    <item>
      <title>How do I create a select statement for datepart for a definition query</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142437#M161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings! I'm trying to filter out a datepart to allow viewers to see features that have been placed on the map in the last few days. I have tried using SQL 92 supported statements for file gdb but no results. Any insight appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 18:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142437#M161</guid>
      <dc:creator>ShaunHealy1</dc:creator>
      <dc:date>2016-06-30T18:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a select statement for datepart for a definition query</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142438#M162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try something like the following to specify a date range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;"DateField" &amp;gt;= date '05/01/2011 00:00:00' AND "DateField" &amp;lt; date '06/01/2011 00:00:00'&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this as a Definition query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 23:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142438#M162</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-06-30T23:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a select statement for datepart for a definition query</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142439#M163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Katie - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with something similar to that but can't make the current_timestamp function work. Is that not supported in 10.2.2?&lt;/P&gt;&lt;P&gt;last_edited_date &amp;gt; CURRENT_DATE -7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 14:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/how-do-i-create-a-select-statement-for-datepart/m-p/142439#M163</guid>
      <dc:creator>ShaunHealy1</dc:creator>
      <dc:date>2016-07-01T14:54:13Z</dc:date>
    </item>
  </channel>
</rss>

