<?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: Feature Service query with time parameters not working in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78338#M366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the exact question I had as well. The records have "CreatedDate" and "EditDate". Does this mean they are "Time aware" or is there something else that needs to be done?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also getting &lt;STRONG&gt;all&lt;/STRONG&gt; results back even though I clearly have time=&amp;nbsp;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;1565622608915,&amp;nbsp;&lt;SPAN&gt;1565633408915 in the query.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2019 18:22:22 GMT</pubDate>
    <dc:creator>EricThomas2</dc:creator>
    <dc:date>2019-08-12T18:22:22Z</dc:date>
    <item>
      <title>Feature Service query with time parameters not working</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78336#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature service that is fed by Survey123 inspections. I want to post-process the inspections that were collected in the past 24 hours and ignore all the other inspections. According to the documentation (&lt;A href="https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm&lt;/A&gt;) all I need is a time extent. For example "1546384695911,1546471095911" is the time extent for the 24 hours prior to about 0400P MST 1/2/2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the time parameters seem to have no affect on the filtering of returned records. For example, if I use the values from the API documentation (&lt;SPAN class="" style="color: #595959; background-color: #f8f8f8; border-width: 1px 0px 1px 1px; border-style: solid none solid solid; border-color: #efefef initial #efefef #efefef; font-weight: 300; padding: 0px 0px 0px 0.15rem;"&gt;time=1199145600000, 1230768000000&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(1 Jan 2008 00:00:00 GMT to 1 Jan 2009 00:00:00 GMT)&lt;/SPAN&gt;), I still get result records, even though I know that there are no records between&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;1 Jan 2008 00:00:00 GMT to 1 Jan 2009 00:00:00 GMT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;The documentation is pretty vague about what constitutes "time" and I am wondering what I'm not doing right. Does the feature service need to be time-aware?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Any help or sage bits of wisdom would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 00:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78336#M364</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2019-01-03T00:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Service query with time parameters not working</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78337#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not&amp;nbsp;well documented in any of the various ArcGIS APIs that support the time parameter for queries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You hunch is correct though,&amp;nbsp;the time parameter works only with&amp;nbsp;time-aware layers. Once you make your layer time-aware, then using&amp;nbsp;time parameters with query will filter results&amp;nbsp;based on&amp;nbsp;the field(s) you've&amp;nbsp;specified in defining the time-awareness of layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 01:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78337#M365</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2019-01-03T01:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Service query with time parameters not working</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78338#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the exact question I had as well. The records have "CreatedDate" and "EditDate". Does this mean they are "Time aware" or is there something else that needs to be done?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also getting &lt;STRONG&gt;all&lt;/STRONG&gt; results back even though I clearly have time=&amp;nbsp;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;1565622608915,&amp;nbsp;&lt;SPAN&gt;1565633408915 in the query.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 18:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/feature-service-query-with-time-parameters-not/m-p/78338#M366</guid>
      <dc:creator>EricThomas2</dc:creator>
      <dc:date>2019-08-12T18:22:22Z</dc:date>
    </item>
  </channel>
</rss>

