<?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: Symbolise points by Date (not Date and Time) in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440033#M22239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a feature layer that I have shared as a service to use with ArcGIS online, but it is not public. The data was captured using the Collector ap from an I-phone if that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 May 2017 10:38:56 GMT</pubDate>
    <dc:creator>LaurenDibben</dc:creator>
    <dc:date>2017-05-27T10:38:56Z</dc:date>
    <item>
      <title>Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440029#M22235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGIS online to create maps for use in the Collector ap. I have a point layer of cameras deployed over three days. These cameras need to be collected now, but they need to be collected in the same order they were put out so that they have all had 10 nights in the field.&lt;/P&gt;&lt;P&gt;I want to be able to symbolise the points in my layer by Date, so that each date of deployment has a separate colour, however when I select Symbolise by Unique Value, I am automatically getting Unique values for Date and Time combined, instead of just for date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me how I get around this please. Ideally, I don't want to change my field data type from Date because it is so much easier for data collection in the field to use this data type, than to manually enter the date in a text field for example. It also maintains integrity of the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hoping there is an easy solution to this. I know the date is recorded as date and time collectively, but I want to sort by date only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lauren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 03:22:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440029#M22235</guid>
      <dc:creator>LaurenDibben</dc:creator>
      <dc:date>2017-05-25T03:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440030#M22236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6162694886001w320h240r298" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6162694886001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6162694886001w320h240r298');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6162694886001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the date format and remove time stamps.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 00:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440030#M22236</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-05-26T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440031#M22237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but that is not working for me. The time stamp part is already turned off. There is nowhere you can see the timestamp at all until I try to categorise using my date field and select unique values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 00:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440031#M22237</guid>
      <dc:creator>LaurenDibben</dc:creator>
      <dc:date>2017-05-26T00:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440032#M22238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the data coming from a hosted feature service? Is it public? If so please share the service url.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 18:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440032#M22238</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-05-26T18:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440033#M22239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a feature layer that I have shared as a service to use with ArcGIS online, but it is not public. The data was captured using the Collector ap from an I-phone if that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 10:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440033#M22239</guid>
      <dc:creator>LaurenDibben</dc:creator>
      <dc:date>2017-05-27T10:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440034#M22240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can always use a bit of Arcade if the standard options don't return what you want. For more details see:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/" title="https://developers.arcgis.com/arcade/"&gt;ArcGIS Arcade | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although it says&amp;nbsp;it's for developers, don't get scared by that. It can be very simple. When you go into the symbology of the layer you can select the option "New Expression" from the list of attributes you have:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/354238_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(sorry for the Spanish interface)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When select that option the Arcade expression window will pop-up and you can enter the following expression:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Month&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DATE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"/"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Day&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DATE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"/"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Year&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DATE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;... and hit the test button to see if it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/354237_pastedImage_1.png" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;P&gt;In this case it will extract the month, day and year from the date-time and create a string like the example "4/11/2017".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default it will assign a different color for each date:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/354284_pastedImage_5.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 16:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440034#M22240</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-05-27T16:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolise points by Date (not Date and Time)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440035#M22241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This did work. Thank you. However, I have no idea how I would find out what expression to have entered if you didn't tell me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lauren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 02:02:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbolise-points-by-date-not-date-and-time/m-p/440035#M22241</guid>
      <dc:creator>LaurenDibben</dc:creator>
      <dc:date>2017-05-31T02:02:33Z</dc:date>
    </item>
  </channel>
</rss>

