<?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: YYYY format in Date Datatype in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381292#M69828</link>
    <description>&lt;P&gt;Ok so there isn't a way to format yyyy as a date.&amp;nbsp; Got it.&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2019 16:20:43 GMT</pubDate>
    <dc:creator>Kristin</dc:creator>
    <dc:date>2019-03-01T16:20:43Z</dc:date>
    <item>
      <title>YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381252#M69823</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Friday!&amp;nbsp; Been stuck on this one for a bit.&amp;nbsp; None of the posts I've looked through indicate a solution.&amp;nbsp; I'm trying to set a date column to yyyy format.&amp;nbsp; So, I first change the date in the formula tool using DateTimeYear([INCEPTION_DATE]) and it converts it to string.&amp;nbsp; Later in the workflow I use the Datetime tool to convert it back to Datetime from String using the custom format of yyyy.&amp;nbsp; But the output shows yyyy-mm-dd.&amp;nbsp; How can I get it to be a Date datatype and shows yyyy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for reading this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kristin&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 21:53:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381252#M69823</guid>
      <dc:creator>Kristin</dc:creator>
      <dc:date>2024-06-13T21:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381286#M69827</link>
      <description>&lt;P&gt;So date datatypes are all YYYY-MM-DD and datetime YYYY-MM-DD hh:mm:ss. If you want a string of the year,&amp;nbsp;DateTimeFormat([date], "%Y") will do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that answer your question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Or your function&amp;nbsp;&lt;SPAN&gt;DateTimeYear([INCEPTION_DATE]) will get the year too it looks like. Bottom line, date and datetime are structured fields and you cannot change the presentation&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:16:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381286#M69827</guid>
      <dc:creator>WillBowman</dc:creator>
      <dc:date>2019-03-01T16:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381292#M69828</link>
      <description>&lt;P&gt;Ok so there isn't a way to format yyyy as a date.&amp;nbsp; Got it.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:20:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381292#M69828</guid>
      <dc:creator>Kristin</dc:creator>
      <dc:date>2019-03-01T16:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381298#M69830</link>
      <description>&lt;P&gt;You're right,&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/29396"&gt;@Kristin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd recommend you to use Year as a Number, so calculations and sorting are easier to do.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:38:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381298#M69830</guid>
      <dc:creator>Thableaus</dc:creator>
      <dc:date>2019-03-01T16:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381356#M69842</link>
      <description>&lt;P&gt;There's a governing body that is requesting it to be in this format.&amp;nbsp; I'm not sure this is something I can negotiate.&amp;nbsp; I was hoping that I could set it up to be a date type yyyy-mm-dd and then use the formula tool to&amp;nbsp;Left([DATE FIELD],4) as a hack.&amp;nbsp; But, this doesn't work either.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 17:16:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381356#M69842</guid>
      <dc:creator>Kristin</dc:creator>
      <dc:date>2019-03-01T17:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381397#M69849</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/29396"&gt;@Kristin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does your governing body have visibility into your workflow, or do they only see the output?&amp;nbsp; If it's the later then use one of the options provide to extract the year just before the output.&amp;nbsp; If its the former, then challenge them to show you any system that can internally represent a date data type without a month or day value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 17:47:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381397#M69849</guid>
      <dc:creator>danilang</dc:creator>
      <dc:date>2019-03-01T17:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381401#M69850</link>
      <description>&lt;P&gt;They only see the output and I'd have to agree with you.&amp;nbsp; Not even Excel or Oracle accept this format.&amp;nbsp; I appreciate all the feedback.&amp;nbsp; I'm going to close this out.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 17:51:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381401#M69850</guid>
      <dc:creator>Kristin</dc:creator>
      <dc:date>2019-03-01T17:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: YYYY format in Date Datatype</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381593#M69890</link>
      <description>&lt;P&gt;I got on the phone with an associate from this governing body today, and it turns out they weren't a developer and didn't know that yyyy wasn't a Date datatype.&amp;nbsp; I didn't know either so I can't point fingers...I just always assumed you could change it from string/custom.&amp;nbsp; Lesson learned.&amp;nbsp; Thanks folks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kristin&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:31:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/YYYY-format-in-Date-Datatype/m-p/381593#M69890</guid>
      <dc:creator>Kristin</dc:creator>
      <dc:date>2019-03-01T22:31:43Z</dc:date>
    </item>
  </channel>
</rss>

