<?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: show/hide data in ArcGIS layer  based on date or time in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1613796#M64698</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/198849"&gt;@CarlosRishmawi1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done something similar, since you have the time in 24 hour format, you could drop the colon, and reduce it to 1030 and 2200, then use "Is between" in the filter menu, that would bring things in that range:&lt;/P&gt;&lt;P&gt;The only INT field I had was OBJECTID but you'd use yours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1747082144478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131985i176A66BDE7D6E03F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1747082144478.png" alt="CodyPatterson_0-1747082144478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work for you, just let me know and I'll get you an Arcade script if needed!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2025 20:36:32 GMT</pubDate>
    <dc:creator>CodyPatterson</dc:creator>
    <dc:date>2025-05-12T20:36:32Z</dc:date>
    <item>
      <title>show/hide data in ArcGIS layer  based on date or time</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1613634#M64693</link>
      <description>&lt;P&gt;Hello community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a line featurelayer in Arcgis online with &amp;nbsp; &lt;FONT color="#800000"&gt;"&lt;STRONG&gt;timeFrom&lt;/STRONG&gt;"&lt;/FONT&gt; and&lt;FONT color="#800000"&gt; "&lt;STRONG&gt;timeTo&lt;/STRONG&gt;"&lt;/FONT&gt; fields, and I want to hide the data from the map depending on that time period.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;for example:&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;timeFrom&lt;/STRONG&gt;: "10:30",&amp;nbsp; &lt;STRONG&gt;timeTo&lt;/STRONG&gt;: "22:00",&lt;/P&gt;&lt;P&gt;I want to show all data on the map between the two times and hide the data outside that period for each row of data&lt;BR /&gt;&lt;BR /&gt;Can this be done using Arcade, or is there another experience?&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1613634#M64693</guid>
      <dc:creator>CarlosRishmawi1</dc:creator>
      <dc:date>2025-05-12T14:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: show/hide data in ArcGIS layer  based on date or time</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1613796#M64698</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/198849"&gt;@CarlosRishmawi1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done something similar, since you have the time in 24 hour format, you could drop the colon, and reduce it to 1030 and 2200, then use "Is between" in the filter menu, that would bring things in that range:&lt;/P&gt;&lt;P&gt;The only INT field I had was OBJECTID but you'd use yours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1747082144478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/131985i176A66BDE7D6E03F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1747082144478.png" alt="CodyPatterson_0-1747082144478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work for you, just let me know and I'll get you an Arcade script if needed!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 20:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1613796#M64698</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-05-12T20:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: show/hide data in ArcGIS layer  based on date or time</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1614432#M64716</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;,&amp;nbsp;thanks for your answer, but the idea is to make this run programaticaly or dynamically.&lt;BR /&gt;&lt;BR /&gt;i want to show the data only with the system time is between the two date fields, knowing that the fields are "FromTime" and "ToTime", SQL where&amp;nbsp; will be something like this:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;"FromTime &amp;gt;= CURRENT_TIMESTAMP() AND CURRENT_TIMESTAMP() &amp;lt; ToTime"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;so it will be great to do this with arcade &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;BR /&gt;Carlos&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 07:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/show-hide-data-in-arcgis-layer-based-on-date-or/m-p/1614432#M64716</guid>
      <dc:creator>CarlosRishmawi1</dc:creator>
      <dc:date>2025-05-14T07:53:03Z</dc:date>
    </item>
  </channel>
</rss>

