<?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: Using Arcade to display current day's data in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617641#M30795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you are right but how do I convert it to be the same as my date field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2020 15:04:15 GMT</pubDate>
    <dc:creator>SarahLinn1</dc:creator>
    <dc:date>2020-04-14T15:04:15Z</dc:date>
    <item>
      <title>Using Arcade to display current day's data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617639#M30793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bunch of points that are created daily via Survey123 that data is then displayed in ArcGIS Online.&amp;nbsp; In AGO I would only like to display the current day's data using Arcade.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am using and the code is correct but it only returns any day &lt;EM&gt;but&lt;/EM&gt; today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ($feature.Date = today())&lt;/P&gt;&lt;P&gt;{return 'this'}&lt;/P&gt;&lt;P&gt;else {return 'that'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lil' bit of a novice so this may be obvious but what am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 13:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617639#M30793</guid>
      <dc:creator>SarahLinn1</dc:creator>
      <dc:date>2020-04-14T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Arcade to display current day's data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617640#M30794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Today()&amp;nbsp; function return the current date with time truncated, the time could be the issue of why your survey123 date is not matching with the Today() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6 style="color: #4c4c4c; background-color: #ffffff; font-size: 1rem; margin: 0px 0px 0.75rem;"&gt;e.g. Mon Oct 24 2016 00:00:00 GMT-0700 (PDT)&lt;/H6&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 14:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617640#M30794</guid>
      <dc:creator>VictorCoelho</dc:creator>
      <dc:date>2020-04-14T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Arcade to display current day's data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617641#M30795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you are right but how do I convert it to be the same as my date field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:04:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617641#M30795</guid>
      <dc:creator>SarahLinn1</dc:creator>
      <dc:date>2020-04-14T15:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Arcade to display current day's data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617642#M30796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if your survey data is storing the time, you can compare both date by creating a new date making sure the time is not present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g:&amp;nbsp;Date(Year(Today()),Month(Today()),Day(Today()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 15:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/using-arcade-to-display-current-day-s-data/m-p/617642#M30796</guid>
      <dc:creator>VictorCoelho</dc:creator>
      <dc:date>2020-04-14T15:32:17Z</dc:date>
    </item>
  </channel>
</rss>

