<?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: Display features based on dates using ArcGIS Arcade in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1497946#M59886</link>
    <description>&lt;P&gt;Thank you! This works nicely.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 22:44:57 GMT</pubDate>
    <dc:creator>BrandonPrice1</dc:creator>
    <dc:date>2024-06-26T22:44:57Z</dc:date>
    <item>
      <title>Display features based on dates using ArcGIS Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1496926#M59853</link>
      <description>&lt;P&gt;How can I display features based on dates using ArcGIS Arcade? For example, no dates that exist in the future. Only starting from the current date or prior. This should be possible with a style expression correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPrice1_0-1719275855396.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107836i5ECC052549CEC7C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPrice1_0-1719275855396.png" alt="BrandonPrice1_0-1719275855396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the live csv:&amp;nbsp;&lt;A href="https://cwwp2.dot.ca.gov/data/d7/lcs/lcsStatusD07.csv" target="_blank" rel="noopener"&gt;https://cwwp2.dot.ca.gov/data/d7/lcs/lcsStatusD07.csv&lt;/A&gt;&amp;nbsp;(the fields to be used would be the closureStartDate and closureEndDate)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 00:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1496926#M59853</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2024-06-25T00:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display features based on dates using ArcGIS Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1496929#M59854</link>
      <description>&lt;P&gt;Yes, you can do that. You'd want an expression like:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return Iif(
  DateDiff(Today(), $feature.yourDateField) &amp;gt;= 0,
  'Past/Present',
  'Future'
)&lt;/LI-CODE&gt;&lt;P&gt;Then simply leave the "Future" category out of your symbology, or set it to be completely transparent.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 01:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1496929#M59854</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-25T01:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display features based on dates using ArcGIS Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1497946#M59886</link>
      <description>&lt;P&gt;Thank you! This works nicely.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 22:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-features-based-on-dates-using-arcgis/m-p/1497946#M59886</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2024-06-26T22:44:57Z</dc:date>
    </item>
  </channel>
</rss>

