<?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: Year only in a date field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370223#M16262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahahaha; my stupid question of the day left you speechless!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2019 19:54:10 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2019-04-17T19:54:10Z</dc:date>
    <item>
      <title>Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370218#M16257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature class with a numeric field representing a year in the form of yyyy (2017).&amp;nbsp; ArcGIS Pro has a tool called Convert Time Field that can take an integer and write it to an existing date field or it will add one for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the tool it returns a date in the form of 1/1/2017.&amp;nbsp;&amp;nbsp;Is there a way to format a date field to show just the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370218#M16257</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-17T17:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370219#M16258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/4422"&gt;Joe Borgione&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer to your question is, I think: No. No, not in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;The display format for dates depends on your regional settings. ArcGIS Pro follows the Windows settings for date formats and uses the system short date format (numerical) to display dates, independent of the underlying database's format on the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course if you display your data somewhere else, e.g. in ArcGIS Online, you can choose to format your dates to only show the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then I have this question: &lt;STRONG&gt;why would you convert your year values to dates to begin with?&lt;/STRONG&gt; If the year really is the only thing you are interested in - and there really is no day, no month, no time to store - then maybe the numeric field you started out with would be sufficient, or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 19:10:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370219#M16258</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-04-17T19:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370220#M16259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;why would you convert your year values to dates to begin with?&amp;nbsp;&lt;/STRONG&gt;It was requested of me.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; font-weight: 400; "&gt;Of course if you display your data somewhere else, e.g. in ArcGIS Online, you can choose to format your dates to only show the year.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-weight: 400; "&gt;Looking at this now:&amp;nbsp;&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/222378-text-to-date-using-arcade-expressions"&gt;https://community.esri.com/thread/222378-text-to-date-using-arcade-expressions&lt;/A&gt;, it's just that we have a 'year' field that was provided as an int....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 19:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370220#M16259</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-17T19:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370221#M16260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 19:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370221#M16260</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-17T19:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370222#M16261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Funky in the field calculator using arcade on a date field&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2019-04-17 8:11:55 AM&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year($feature.DT_test)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;yields&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1905-07-11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would say no as well, but I am sure it is something silly or just something&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 19:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370222#M16261</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-17T19:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370223#M16262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahahaha; my stupid question of the day left you speechless!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 19:54:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370223#M16262</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-17T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370224#M16263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; now remember Arcade is an evolving language... I am sure it is just moi and not something that they didn't test on a date field &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ can you spot my error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:02:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370224#M16263</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-17T20:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370225#M16264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm thinking this a red herring:&amp;nbsp; one of the guys here wants to use the integer field as a year in a dashboard.&amp;nbsp; Not exactly sure what the objective is.&amp;nbsp; On to other more intangible things....&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370225#M16264</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-17T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370226#M16265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you added a new text field and calc'ed that field to have the year only?&amp;nbsp; Would that work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370226#M16265</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2019-04-17T20:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370227#M16266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You missed my "Funky" link above.&amp;nbsp; Apparently a text or numeric is not needed, but a Date field with just the year... cool results though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:47:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370227#M16266</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-17T20:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370228#M16267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably; this is a project wrought with bad data, so any additional fields are just a band-aid at best.&amp;nbsp; My colleague found something on &lt;A href="https://github.com/JArcherB/arcade/blob/master/stringToDate"&gt;github &lt;/A&gt;that he's working through.&amp;nbsp; We are seeing more and more non-data types&amp;nbsp;who want data-intensive analyses.&amp;nbsp; Not a great combination. (Can't you just hit cntrl F3 and make my spreadsheet a bomb-proof database?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370228#M16267</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-17T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370229#M16268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did - cool "funky" link though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370229#M16268</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2019-04-17T20:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370230#M16269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the error is, but if you want to strore the year in a separate field, you would create an integer field, and doing a calculation with Arcade&amp;nbsp;on a date field using Year($feature.NameOfDateField) and&amp;nbsp;storing the result in an integer field will just store the year value. Just tried it and it works as it is supposed to. Not sure what might be different in your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370230#M16269</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-04-22T19:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370231#M16270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is a misunderstanding between the core properties of the Date, Text, and Integer types. Or it's just my misunderstanding?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370231#M16270</guid>
      <dc:creator>AlexZhuk</dc:creator>
      <dc:date>2019-04-22T19:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370232#M16271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really a misunderstanding per se, just wondered if it's possible some how.&amp;nbsp; I guess it's not and as mentioned earlier, this red herring is back into the sea......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370232#M16271</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-04-22T19:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370233#M16272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some of my favorite problems to have: 1) writing code for rotational corrections brought over from legacy CAD files 2) commingling scalar &amp;amp; vector "man behind the curtain" magic to represent velocity arrows at the requested scale that originates at a fixed point, and 3) Dealing with date conversion for client display. Just kidding, all of that gives me a headache but date management is something you have to start &lt;STRONG&gt;&lt;EM&gt;managing the expectations&lt;/EM&gt;&lt;/STRONG&gt; of your users (and boss) on and start looking for stronger typed&amp;nbsp; solutions that offer better management of date &amp;amp; time with built-in functions for your chosen flavor of RDBMS. If you don't have options on those fronts,&amp;nbsp;DatePart is a handy function to gain familiarity with for popping the date into a text field. Big picture advice - educate yourself on date field manipulation because it's worth getting your head around.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 21:06:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370233#M16272</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-22T21:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year only in a date field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370234#M16273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egge-Jan,&lt;/P&gt;&lt;P&gt;I'm curious if one application that a user would want to use the year as a date field instead of a numeric field would be for space-time binning(?).&amp;nbsp; Say one wanted to evaluate the spatial distribution of model polygons on a landscape over many years, but the year field is numeric, would this be an instance where the user would want to convert year values to dates? And if so, is there a workflow you are familiar with to achieve that result?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zachary&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 19:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/year-only-in-a-date-field/m-p/370234#M16273</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-02T19:29:07Z</dc:date>
    </item>
  </channel>
</rss>

