<?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: Challenge #34: Date-Time Formatting in Weekly Challenges</title>
    <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/176106#M6261</link>
    <description>&lt;P&gt;I did this a little differently than the provided solution, but it seems to work!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 19:53:01 GMT</pubDate>
    <dc:creator>kcoulon</dc:creator>
    <dc:date>2018-06-21T19:53:01Z</dc:date>
    <item>
      <title>Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/36437#M11</link>
      <description>&lt;P&gt;Here is this week’s challenge, I would like to thank everyone for playing along and for your feedback.&amp;nbsp; The link to the solution for last challenge #33 is &lt;A href="https://community.alteryx.com/t5/Weekly-Challenge/Weekly-Exercise-33-Reshaping-Nielsen-Data-Intermediate/m-p/36436#M10" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;.&amp;nbsp; For this chalenge let’s look at creating a macro from scratch.&amp;nbsp; I recommend you first solve the problem with tools on the canvas, then cake a macro from the tools.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Case:&amp;nbsp; Our customer has a need to convert date/time strings into a date-time format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Examples of the different input formats include: &amp;nbsp;4/8/2015 4:00, 5/10/2015 13:00.&amp;nbsp; The conversion is automatic when the hours are 2 digits (10-24), but it ignores hours 1-9 (creates NULL values on conversion).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objective:&amp;nbsp; Create a macro to effectively convert and preserve the data in a date-time format.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 16:57:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/36437#M11</guid>
      <dc:creator>GeneR</dc:creator>
      <dc:date>2022-09-13T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Exercise #34: Macro Development Date-Time Formatting (Advanced)</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/28450#M171</link>
      <description>&lt;P&gt;Thank you for posting this amazing exercise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Alteryx community. Does anyone know how to upload my yxmd and yxmc files onto Alteryx Community?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is my smiling-face macro:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/7369i34219E94511B3493/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture1.PNG" title="Capture1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Here is what's inside my smiling-face macro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/7370iF39A4C9A9CB451D1/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture2.PNG" title="Capture2.PNG" /&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 02:09:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/28450#M171</guid>
      <dc:creator>BenChan</dc:creator>
      <dc:date>2016-07-27T02:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Exercise #34: Macro Development Date-Time Formatting (Advanced)</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/28798#M170</link>
      <description>&lt;P&gt;Here's a solution:&lt;/P&gt;
&lt;LI-SPOILER&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/7463iB939EAD55488325D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Exercise 34 Solution.PNG" title="Exercise 34 Solution.PNG" /&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:54:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/28798#M170</guid>
      <dc:creator>MattD</dc:creator>
      <dc:date>2016-08-01T15:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/52111#M568</link>
      <description>&lt;P&gt;nice quick one.&lt;/P&gt;&lt;P&gt;Solution attached - very similar to the provided solution&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:30:39 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/52111#M568</guid>
      <dc:creator>SeanAdams</dc:creator>
      <dc:date>2017-03-29T16:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/53674#M656</link>
      <description>&lt;P&gt;I think that this is straight-forward (after finding the reverse update).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 21:02:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/53674#M656</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2017-04-05T21:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/57203#M809</link>
      <description>&lt;P&gt;My solution.... in a single formula!! This might be the first time I've had a one-tool solution!! :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Formula Tool = DateTimeParse(Left([date_time],FindString([date_time]," "))+" "+PadLeft(Substring([date_time],FindString([date_time]," ")+1,8),5,"0"),"%m/%d/%Y %H:%M:%s")&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 03:52:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/57203#M809</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2017-04-27T03:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/57811#M843</link>
      <description>&lt;P&gt;My solution. Took a number of tries to get everything right.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 19:40:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/57811#M843</guid>
      <dc:creator>estherb47</dc:creator>
      <dc:date>2017-05-01T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/63750#M1194</link>
      <description>&lt;P&gt;I think the datetime convert maybe my favourite tool...so easy and simple&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Weekly Challenge 34.png" style="width: 784px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/17771i97A11A955166F586/image-size/large?v=v2&amp;amp;px=999" role="button" title="Weekly Challenge 34.png" alt="Weekly Challenge 34.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Wed, 07 Jun 2017 18:51:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/63750#M1194</guid>
      <dc:creator>LordNeilLord</dc:creator>
      <dc:date>2017-06-07T18:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/80669#M1768</link>
      <description>&lt;P&gt;Solution Attached.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:15:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/80669#M1768</guid>
      <dc:creator>nick_ceneviva</dc:creator>
      <dc:date>2017-09-12T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/81772#M1868</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 232px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/21848iCE3909DE751E9B67/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 19 Sep 2017 17:09:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/81772#M1868</guid>
      <dc:creator>patrick_digan</dc:creator>
      <dc:date>2017-09-19T17:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/90657#M2304</link>
      <description>&lt;P&gt;Love all this practice with Regex. These weekly challenges trained me to regex in my sleep now. (seriously)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 02:24:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/90657#M2304</guid>
      <dc:creator>JoshKushner</dc:creator>
      <dc:date>2017-11-10T02:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/90894#M2325</link>
      <description>&lt;P&gt;I either don't get this challenge or it is outdated. Anyway here is my solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;1) Currently the date-time converter tool handles both 01 and 1 records of date and time&lt;BR /&gt;2) I don't see the&amp;nbsp;reason for creating a macro&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-12 at 15.43.23.png" style="width: 992px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/24488iD0C1D2D0F4470742/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-12 at 15.43.23.png" alt="Screen Shot 2017-11-12 at 15.43.23.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-12 at 15.43.31.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/24489i33F68CFB7B5706BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-12 at 15.43.31.png" alt="Screen Shot 2017-11-12 at 15.43.31.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 15:52:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/90894#M2325</guid>
      <dc:creator>Natasha</dc:creator>
      <dc:date>2017-11-12T15:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/94160#M2551</link>
      <description>&lt;P&gt;Macros and regex!? Must be my lucky day&lt;/P&gt;&lt;P&gt;Forgot to attach my Macro the first time&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 02:16:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/94160#M2551</guid>
      <dc:creator>samN</dc:creator>
      <dc:date>2017-12-02T02:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/94874#M2602</link>
      <description>&lt;P&gt;Quick and easy macro solution!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 02:15:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/94874#M2602</guid>
      <dc:creator>ggruccio</dc:creator>
      <dc:date>2017-12-06T02:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/95902#M2730</link>
      <description>&lt;P&gt;Tried two solutions. And realised that there's no need to pad when using the datetime format tool. Solution attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="challenge_34 - Snip.PNG" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/25940i5B89EEE476B1EA1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="challenge_34 - Snip.PNG" alt="challenge_34 - Snip.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:55:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/95902#M2730</guid>
      <dc:creator>philipmannering</dc:creator>
      <dc:date>2017-12-12T17:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/98019#M2786</link>
      <description>&lt;P&gt;Solution attached.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 13:36:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/98019#M2786</guid>
      <dc:creator>LandonG</dc:creator>
      <dc:date>2017-12-13T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/101954#M2899</link>
      <description>&lt;P&gt;Solution attached.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 03:50:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/101954#M2899</guid>
      <dc:creator>jasperlch</dc:creator>
      <dc:date>2017-12-15T03:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/108469#M3147</link>
      <description>&lt;P&gt;conquered my fear of macros. for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="challenge34.png" style="width: 926px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/26585iD4CD786FAFFC33F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="challenge34.png" alt="challenge34.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="challenge34b.png" style="width: 664px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/26584iC7C174045DF5C0DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="challenge34b.png" alt="challenge34b.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 26 Dec 2017 00:14:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/108469#M3147</guid>
      <dc:creator>msicak</dc:creator>
      <dc:date>2017-12-26T00:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/108571#M3179</link>
      <description>&lt;P&gt;Here's my solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-12-26 at 19.56.05.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/26620iE48CB0436D653B10/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-12-26 at 19.56.05.png" alt="Screen Shot 2017-12-26 at 19.56.05.png" /&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 26 Dec 2017 20:00:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/108571#M3179</guid>
      <dc:creator>jamielaird</dc:creator>
      <dc:date>2017-12-26T20:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge #34: Date-Time Formatting</title>
      <link>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/109637#M3346</link>
      <description>&lt;P&gt;here is the macro&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 21:55:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Weekly-Challenges/Challenge-34-Date-Time-Formatting/m-p/109637#M3346</guid>
      <dc:creator>Waynemk</dc:creator>
      <dc:date>2018-01-02T21:55:06Z</dc:date>
    </item>
  </channel>
</rss>

