<?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 Arcade Data Expression in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306095#M8049</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to get the current time data using Data Expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sunita_0-1688644608501.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74891iAA5455433B7DE53D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sunita_0-1688644608501.png" alt="sunita_0-1688644608501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my feature layer having the data of (future as well as historic) current time and for the next two days on hourly basis i.e. 2:30 PM, 3:30 PM, I want to get the data which is related to current hour is running.&lt;/P&gt;&lt;P&gt;Let's suppose now time is 6:40AM. only push the feature which is coming under that time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunita&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 12:00:12 GMT</pubDate>
    <dc:creator>Kristofer</dc:creator>
    <dc:date>2023-07-06T12:00:12Z</dc:date>
    <item>
      <title>Arcade Data Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306095#M8049</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to get the current time data using Data Expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sunita_0-1688644608501.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74891iAA5455433B7DE53D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sunita_0-1688644608501.png" alt="sunita_0-1688644608501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my feature layer having the data of (future as well as historic) current time and for the next two days on hourly basis i.e. 2:30 PM, 3:30 PM, I want to get the data which is related to current hour is running.&lt;/P&gt;&lt;P&gt;Let's suppose now time is 6:40AM. only push the feature which is coming under that time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunita&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 12:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306095#M8049</guid>
      <dc:creator>Kristofer</dc:creator>
      <dc:date>2023-07-06T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Data Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306172#M8050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/511815"&gt;@Kristofer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;See the following &lt;A href="https://community.esri.com/t5/arcgis-online-documents/dynamic-date-filter-with-arcade/ta-p/920443" target="_self"&gt;document&lt;/A&gt;, it shows how to create a dynamic date filter with arcade.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:34:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306172#M8050</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2023-07-06T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Data Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306217#M8051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to filter the data only for tomorrow from 12:00 am to 11:59 pm. I tried to using json editor also.&lt;/P&gt;&lt;P&gt;time BETWEEN timestamp(CURRENT_DATE (), +1, 'day') AND timestamp(CURRENT_DATE (), +1, 'day')&lt;/P&gt;&lt;P&gt;also wanted to another filter the data from tomorrow day after.&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunita&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 15:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306217#M8051</guid>
      <dc:creator>Kristofer</dc:creator>
      <dc:date>2023-07-06T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Data Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306337#M8053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to Data expression code but you have shared the documentation for pop-up.&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 19:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306337#M8053</guid>
      <dc:creator>Kristofer</dc:creator>
      <dc:date>2023-07-06T19:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Data Expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306416#M8056</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/511815"&gt;@Kristofer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var year = Year(Now());
var month = Month(Now());
var day = Day(Now()) + 1;
var hour1 = 00;
var minute1 = 00;
var second1 = 00;
var hour2 = 23;
var minute2 = 59;
var second2 = 59;
var dateField = $feature.duedate;

var tomorrowDate1 = Date(year, month, day, hour1, minute1, second1)
var tomorrowDate2 = Date(year, month, day, hour2, minute2, second2)

IIf(dateField &amp;gt; tomorrowDate1 &amp;amp;&amp;amp; dateField &amp;lt; tomorrowDate2, 'future', 'past');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 00:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression/m-p/1306416#M8056</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2023-07-07T00:35:19Z</dc:date>
    </item>
  </channel>
</rss>

