<?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 transformation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608500#M224713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this&lt;/P&gt;&lt;P&gt;Date(date#([Added On],'DD-MMM-YYYY'),'DD-MMM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;-Shruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 08:36:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-05T08:36:17Z</dc:date>
    <item>
      <title>Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608496#M224709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field in general format , example: &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="25" style="height: 25px; width: 99px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="69"&gt;&lt;STRONG&gt;20 Mar 2012&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not in date format, so I need to convert this to date format, somehow my script failed to do so.&lt;/P&gt;&lt;P&gt;Appreciate if anyone could help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: courier new,courier;"&gt;Test:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;Load &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left([Added On], 2) as TempDay,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextBetween([Added On], ' ', ' ') as TempMonth,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid([Added On], &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; as TempYear&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;from xxx.xlsx&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;(ooxml, embedded labels, header is 1 lines, table is Table1);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;TempDate:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;Load *,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempDay &amp;amp; '-' &amp;amp; TempMonth &amp;amp; '-' &amp;amp; TempYear as TempDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;Resident Test;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;Date: &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;load *,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(TempDate) as Date&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;Resident TempDate;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: courier new,courier;"&gt;Drop table TempDate;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Chanel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608496#M224709</guid>
      <dc:creator />
      <dc:date>2014-02-05T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608497#M224710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can interpret the string using built-it Date#() instead of manual parsing. &lt;/P&gt;&lt;P&gt;Try this: Date#([Added On], 'dd MMM YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608497#M224710</guid>
      <dc:creator />
      <dc:date>2014-02-05T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608498#M224711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;Date(Date#([Added On],'dd MMM yyyy')) &lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;as TempDay,&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;Regards,&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;Sokkorn&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608498#M224711</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-05T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608499#M224712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Date(Date#(&lt;EM style="font-family: 'courier new', courier; color: #3d3d3d;"&gt;[Added On]&lt;/EM&gt;, 'D MMM YYYY'), 'M/D/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608499#M224712</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-05T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608500#M224713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this&lt;/P&gt;&lt;P&gt;Date(date#([Added On],'DD-MMM-YYYY'),'DD-MMM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;-Shruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608500#M224713</guid>
      <dc:creator />
      <dc:date>2014-02-05T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608501#M224714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try the file i attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608501#M224714</guid>
      <dc:creator />
      <dc:date>2014-02-05T08:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608502#M224715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA..Hope this will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 08:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608502#M224715</guid>
      <dc:creator />
      <dc:date>2014-02-05T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date format transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608503#M224716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your helpssss!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 09:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-transformation/m-p/608503#M224716</guid>
      <dc:creator />
      <dc:date>2014-02-05T09:25:13Z</dc:date>
    </item>
  </channel>
</rss>

