<?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 REST service with the Time parameter in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668525#M5057</link>
    <description>&lt;P&gt;Hello, I need some help properly writing a query for a time-enabled REST service. I have a &lt;A href="https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2#:~:text=false%0A%0AHasM%3A%20false-,Time%20Info%3A,-Start%20Time%20Field" target="_blank" rel="noopener"&gt;public layer on our REST Endpoint that has been time-enabled&lt;/A&gt;. When I go to query the data, however, it seems like my time input has no effect on the query. For example, if I input a point location geometry and a time value that is outside the start_date and end_date values (and use timeRelation=esriTimeRelationOverlaps), I still get a result. It seems like no matter what value I input for the Time: parameter, I still get a result. I am aware of &lt;A href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries" target="_blank" rel="noopener"&gt;this article&lt;/A&gt;, but it does not appear that any of the input formats in that article change my result. Is there any other documentation on Time queries that I should be using?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 17:19:41 GMT</pubDate>
    <dc:creator>GrantSmith122</dc:creator>
    <dc:date>2025-11-25T17:19:41Z</dc:date>
    <item>
      <title>Querying a REST service with the Time parameter</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668525#M5057</link>
      <description>&lt;P&gt;Hello, I need some help properly writing a query for a time-enabled REST service. I have a &lt;A href="https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2#:~:text=false%0A%0AHasM%3A%20false-,Time%20Info%3A,-Start%20Time%20Field" target="_blank" rel="noopener"&gt;public layer on our REST Endpoint that has been time-enabled&lt;/A&gt;. When I go to query the data, however, it seems like my time input has no effect on the query. For example, if I input a point location geometry and a time value that is outside the start_date and end_date values (and use timeRelation=esriTimeRelationOverlaps), I still get a result. It seems like no matter what value I input for the Time: parameter, I still get a result. I am aware of &lt;A href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries" target="_blank" rel="noopener"&gt;this article&lt;/A&gt;, but it does not appear that any of the input formats in that article change my result. Is there any other documentation on Time queries that I should be using?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 17:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668525#M5057</guid>
      <dc:creator>GrantSmith122</dc:creator>
      <dc:date>2025-11-25T17:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a REST service with the Time parameter</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668857#M5058</link>
      <description>&lt;P&gt;See &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/#request-parameters" target="_self"&gt;documentation&lt;/A&gt; for example for `time` parameter syntax.&lt;/P&gt;&lt;P&gt;Copied here for your convenience.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The time instant or the time extent to query.&lt;/P&gt;&lt;P&gt;Time instant&lt;/P&gt;&lt;P&gt;Syntax:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;time=&amp;lt;timeInstant&amp;gt;&lt;/P&gt;&lt;P&gt;Example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;time=1199145600000&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(1 Jan 2008 00:00:00 GMT)&lt;/P&gt;&lt;P&gt;Time extent&lt;/P&gt;&lt;P&gt;Syntax:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;time=&amp;lt;startTime&amp;gt;, &amp;lt;endTime&amp;gt;&lt;/P&gt;&lt;P&gt;Example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;time=1199145600000, 1230768000000&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(1 Jan 2008 00:00:00 GMT to 1 Jan 2009 00:00:00 GMT)&lt;/P&gt;&lt;P&gt;A null value specified for start time or end time will represent infinity for start or end time, respectively. Example:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;time=null, 1230768000000&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Example query outside of the data's time range (expect 0 records as of this post):&amp;nbsp;&lt;A href="https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2/query?where=1%3D1&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=1798704000000&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;f=html" target="_blank" rel="noopener"&gt;https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2/query?where=1%3D1&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=1798704000000&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example query inside the data's time range (expect 19 records as of this post):&amp;nbsp;&lt;A href="https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2/query?where=1%3D1&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=1767164400000&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;f=html" target="_blank" rel="noopener"&gt;https://gis.colorado.gov/public/rest/services/OEDIT/Enterprise_Zones/MapServer/2/query?where=1%3D1&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=1767164400000&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 17:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668857#M5058</guid>
      <dc:creator>f92k</dc:creator>
      <dc:date>2025-11-26T17:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Querying a REST service with the Time parameter</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668871#M5059</link>
      <description>&lt;P&gt;Ah, okay so the time must be in epoch time. Appreciate the help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 18:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/querying-a-rest-service-with-the-time-parameter/m-p/1668871#M5059</guid>
      <dc:creator>GrantSmith122</dc:creator>
      <dc:date>2025-11-26T18:23:12Z</dc:date>
    </item>
  </channel>
</rss>

