<?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: Date format in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403870#M348233</link>
    <description>&lt;P&gt;Thank you Both! Both solutions worked&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 13:42:58 GMT</pubDate>
    <dc:creator>fieldew1</dc:creator>
    <dc:date>2025-07-23T13:42:58Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403826#M348222</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a bit of help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm analyzing payment cards with their expiry dates. For some of them those exp dates come in the format ie. Jun-23, some 06/23. I'd like to convert any dates in the format 06/23 to Jun-23.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expiry Date New Format&lt;/P&gt;&lt;P&gt;Jun-23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Jun-23&lt;/P&gt;&lt;P&gt;06/23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Jun-23&lt;/P&gt;&lt;P&gt;May-24&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; May-24&lt;/P&gt;&lt;P&gt;03/25&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mar-25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 12:02:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403826#M348222</guid>
      <dc:creator>fieldew1</dc:creator>
      <dc:date>2025-07-23T12:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403839#M348225</link>
      <description>&lt;P&gt;This formula works for the data provided:&amp;nbsp;IF Contains([Field1], "/") THEN DateTimeFormat(DateTimeParse([Field1],"%m/%y"),"%b-%y") ELSE [Field1] ENDIF&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 12:18:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403839#M348225</guid>
      <dc:creator>alexnajm</dc:creator>
      <dc:date>2025-07-23T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403843#M348226</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/552644"&gt;@fieldew1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To tackle this task, I would begin by identifying which records already match your desired format. The regex match function inside a formula tool can do this nicely. As you can see, I have specified that we are looking for 3 letters "\w{3}" followed by a dash "\-" followed by two numbers "\d{2}".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filter.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407862iCA4BB5F53AB2F3C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="filter.png" alt="filter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any records that match this format are already complete so we can simply set the new column equal to the old column:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407863iA1482D05BD344966/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Formula.png" alt="Formula.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once you have done this, we need to consider the records that didn't match (those found in the false anchor of the filter tool). To handle these I think the easiest method is to first convert them into the data time format, using the specifiers MM/yy.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407864iDFDBB4D1E109D397/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Then I would convert them from the date format into your desired format using another date time tool with the specifiers Mon-yy&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407865i107CA36DF2AE58DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;By dropping unnecessary&amp;nbsp;columns and unioning the results back together you get the following output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="final.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/407866i2319C395C5E6AAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="final.png" alt="final.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;I've attached the workflow with annotations below to try and assist further.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please let me know how you get on.&lt;BR /&gt;&lt;BR /&gt;Regards - Pilsner&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 12:22:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403843#M348226</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-07-23T12:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403870#M348233</link>
      <description>&lt;P&gt;Thank you Both! Both solutions worked&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 13:42:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403870#M348233</guid>
      <dc:creator>fieldew1</dc:creator>
      <dc:date>2025-07-23T13:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403883#M348238</link>
      <description>&lt;P&gt;Glad to hear, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:32:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Date-format/m-p/1403883#M348238</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-07-23T14:32:47Z</dc:date>
    </item>
  </channel>
</rss>

