<?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: Dashboard Date Selector with wrong time in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1175322#M6317</link>
    <description>&lt;P&gt;For those may encounter the same issue, I have found a solution.&lt;/P&gt;&lt;P&gt;In the feature layer within the web map, I used following definition query before:&lt;/P&gt;&lt;P&gt;date BETWEEN CURRENT_TIMESTAMP - INTERVAL '14' DAY AND CURRENT_TIMESTAMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I changed to following, it’s working:&lt;/P&gt;&lt;P&gt;date BETWEEN CURRENT_DATE - INTERVAL '14' DAY AND CURRENT_TIMESTAMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rose&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 20:30:44 GMT</pubDate>
    <dc:creator>RoseZhou2</dc:creator>
    <dc:date>2022-05-18T20:30:44Z</dc:date>
    <item>
      <title>Dashboard Date Selector with wrong time</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1174814#M6312</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a dashboard with a Date Selector (type=Advanced). Please see the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DateSelector.PNG" style="width: 155px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41538i8EE3733D56FFAEC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="DateSelector.PNG" alt="DateSelector.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When select "Past 14 days", from web browser's Developer's tool, I found it queried the date range more than 14 days. For example if I select it at&amp;nbsp; 4:45 pm EST, May 17th, the "where" clause is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;date &amp;lt;=timestamp '2022-05-17 21:45:10' AND date &amp;gt;=timestamp '202-05-03 04:00:00'&lt;/P&gt;&lt;P&gt;It's more than 14 days! I have another web map with filer set: 'date in the last 2 weeks'.&amp;nbsp; This web map queries exactly 14 days, from&amp;nbsp;date &amp;lt;=timestamp '2022-05-17 21:45:10' AND date &amp;gt;=timestamp '202-05-03 21:45:10'.&lt;/P&gt;&lt;P&gt;The dashboard and the web map return different result due to different query time period. How to make those two consistent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rose&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 20:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1174814#M6312</guid>
      <dc:creator>RoseZhou2</dc:creator>
      <dc:date>2022-05-17T20:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Date Selector with wrong time</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1174870#M6313</link>
      <description>&lt;P&gt;By the way, I am using ArcGIS Enterprise version 10.8.1 Portal built-in dashboard.&lt;/P&gt;&lt;P&gt;Rose&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 22:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1174870#M6313</guid>
      <dc:creator>RoseZhou2</dc:creator>
      <dc:date>2022-05-17T22:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Date Selector with wrong time</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1175322#M6317</link>
      <description>&lt;P&gt;For those may encounter the same issue, I have found a solution.&lt;/P&gt;&lt;P&gt;In the feature layer within the web map, I used following definition query before:&lt;/P&gt;&lt;P&gt;date BETWEEN CURRENT_TIMESTAMP - INTERVAL '14' DAY AND CURRENT_TIMESTAMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I changed to following, it’s working:&lt;/P&gt;&lt;P&gt;date BETWEEN CURRENT_DATE - INTERVAL '14' DAY AND CURRENT_TIMESTAMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rose&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 20:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-date-selector-with-wrong-time/m-p/1175322#M6317</guid>
      <dc:creator>RoseZhou2</dc:creator>
      <dc:date>2022-05-18T20:30:44Z</dc:date>
    </item>
  </channel>
</rss>

