<?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 Working with Time in an Indicator Widget in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/working-with-time-in-an-indicator-widget/m-p/64394#M338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field in my dataset that stores the date and time a trash can was last emptied.&amp;nbsp; I would like two indicators on my dashboard.&amp;nbsp; One indicator would show the total number of cans emptied before 2 pm the previous day and a second indicator showing the total number of cans emptied after 2 pm the previous day.&amp;nbsp; I am easily able to get the total number of cans emptied the previous day.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG alt="Service date is yesterday" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/471117_Untitled.png" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;However, I cannot seem to be able to figure out a way of getting the specific time of day yesterday....&amp;nbsp; Is there any way of extracting the time from the date in the filter?&amp;nbsp; I have tried adding a second query for the time, but you cannot seem to do it without also specifying a specific date:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG alt="Entering time" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/471146_time.png" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I could add a field to the data to store whether the can was collected before or after 2 pm and run a script overnight to update it, but I would prefer to find a way of doing the work in the filter without having to hard code anything in the data.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2019 22:55:44 GMT</pubDate>
    <dc:creator>ChristineCarrelli1</dc:creator>
    <dc:date>2019-10-31T22:55:44Z</dc:date>
    <item>
      <title>Working with Time in an Indicator Widget</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/working-with-time-in-an-indicator-widget/m-p/64394#M338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field in my dataset that stores the date and time a trash can was last emptied.&amp;nbsp; I would like two indicators on my dashboard.&amp;nbsp; One indicator would show the total number of cans emptied before 2 pm the previous day and a second indicator showing the total number of cans emptied after 2 pm the previous day.&amp;nbsp; I am easily able to get the total number of cans emptied the previous day.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG alt="Service date is yesterday" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/471117_Untitled.png" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;However, I cannot seem to be able to figure out a way of getting the specific time of day yesterday....&amp;nbsp; Is there any way of extracting the time from the date in the filter?&amp;nbsp; I have tried adding a second query for the time, but you cannot seem to do it without also specifying a specific date:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG alt="Entering time" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/471146_time.png" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I could add a field to the data to store whether the can was collected before or after 2 pm and run a script overnight to update it, but I would prefer to find a way of doing the work in the filter without having to hard code anything in the data.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 22:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/working-with-time-in-an-indicator-widget/m-p/64394#M338</guid>
      <dc:creator>ChristineCarrelli1</dc:creator>
      <dc:date>2019-10-31T22:55:44Z</dc:date>
    </item>
  </channel>
</rss>

