<?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: Arcade expression for how many days left until target date field in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243290#M49478</link>
    <description>&lt;P&gt;This will return the outputs&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var days = DateDiff($feature.Target_Dat, Today(), 'days');
return when (days &amp;gt; 30, "on schedule",
             days &amp;gt;= 0, "nearly due",
             "overdue");&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 22 Dec 2022 12:07:07 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2022-12-22T12:07:07Z</dc:date>
    <item>
      <title>Arcade expression for how many days left until target date field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243283#M49477</link>
      <description>&lt;P&gt;I'm looking for an Arcade expression to symbolise a feature layer in a web map based how many days left there is until my target date field (Target_Dat), compared to Today's date, so hopefully the symbology will keep changing live.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for if the target date is before today's date, then it will be "overdue". If it's within 30 days, it will be "nearly due", and anything in more than 30 days time will be "on schedule"&lt;/P&gt;&lt;P&gt;Would appreciate any help please&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 11:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243283#M49477</guid>
      <dc:creator>e_cat</dc:creator>
      <dc:date>2022-12-22T11:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression for how many days left until target date field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243290#M49478</link>
      <description>&lt;P&gt;This will return the outputs&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var days = DateDiff($feature.Target_Dat, Today(), 'days');
return when (days &amp;gt; 30, "on schedule",
             days &amp;gt;= 0, "nearly due",
             "overdue");&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Dec 2022 12:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243290#M49478</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2022-12-22T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression for how many days left until target date field</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243293#M49479</link>
      <description>&lt;P&gt;Amazing, thank you so much! I kept getting an error with my code so I think I need to do a lot more practice with it&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 12:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-how-many-days-left-until/m-p/1243293#M49479</guid>
      <dc:creator>e_cat</dc:creator>
      <dc:date>2022-12-22T12:13:10Z</dc:date>
    </item>
  </channel>
</rss>

