<?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: Counting distinct days not working because of different times... in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275482#M7601</link>
    <description>&lt;P&gt;Was puzzling over how a default time could get altered, the client explanation makes perfect sense.&amp;nbsp; Do you know if Esri changed the default time from 12 am to 12pm?&amp;nbsp; I guess doing so greatly reduced the chances of date changes due to timezone differences.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 19:58:38 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2023-04-04T19:58:38Z</dc:date>
    <item>
      <title>Counting distinct days not working because of different times...</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275456#M7599</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have a public web form where the users have to enter a "date of issuance".&amp;nbsp; In the form, it's a date only question. However, the date is always stored with hours in the geodatabase.&lt;/P&gt;&lt;P&gt;I need to count how many days had issuance of that certification, so I need to count the distinct day.&amp;nbsp; But because of the time, it's considering these as 2 different values.&amp;nbsp; (I have some image below to illustrate what I'm saying)&lt;/P&gt;&lt;P&gt;2 questions here:&lt;/P&gt;&lt;P&gt;1- How come some people have their time collected as 12:00 which seems to be the normality and other are at different time?&amp;nbsp; Is it based on the time settings of their operating systems?&lt;/P&gt;&lt;P&gt;2- If I can't control the OS of each people entering data, can I force AGOL to always collect each entry as being 12:00? (or get rid of the time completely as it's irrelevant for me.)&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenBouchard_2-1680635879804.png"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67242i581E91D4C420F268/image-dimensions/281x59?v=v2" alt="KenBouchard_2-1680635879804.png" title="KenBouchard_2-1680635879804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenBouchard_1-1680635822300.png"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67241iD36034A865E9E5BC/image-dimensions/212x179?v=v2" alt="KenBouchard_1-1680635822300.png" title="KenBouchard_1-1680635822300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenBouchard_0-1680635457011.png"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67237iA44DC1CE6222E0F9/image-dimensions/277x215?v=v2" alt="KenBouchard_0-1680635457011.png" title="KenBouchard_0-1680635457011.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 19:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275456#M7599</guid>
      <dc:creator>KenBouchard</dc:creator>
      <dc:date>2023-04-04T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Counting distinct days not working because of different times...</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275475#M7600</link>
      <description>&lt;P&gt;You'll see differences when edits are made from different clients, like using ArcGIS Pro rather than Survey123.&lt;/P&gt;&lt;P&gt;There are ways to address this. One is to calculate the field and use SQL expression like &lt;STRONG&gt;DATE(your_date_field)&lt;/STRONG&gt;. This would pull the date, but &lt;EM&gt;not the time&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;But another way that doesn't modify the data is to use a Data Expression. You could easily write up an arcade expression to strip the time out of your dates, and then use the resulting FeatureSet to create your dashboard widgets.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 19:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275475#M7600</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-04-04T19:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting distinct days not working because of different times...</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275482#M7601</link>
      <description>&lt;P&gt;Was puzzling over how a default time could get altered, the client explanation makes perfect sense.&amp;nbsp; Do you know if Esri changed the default time from 12 am to 12pm?&amp;nbsp; I guess doing so greatly reduced the chances of date changes due to timezone differences.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 19:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/counting-distinct-days-not-working-because-of/m-p/1275482#M7601</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-04-04T19:58:38Z</dc:date>
    </item>
  </channel>
</rss>

