<?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 Date function not working on all data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370866#M137933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data that represents a date in the format 'YYMMDD' and I am converting it to a readable date format of 'MM/DD/YYYY' with the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image-thumbnail jive-image" height="35" onclick="" src="https://community.qlik.com/legacyfs/online/13459_Capture.JPG" width="799" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working for most of the dates but there are a few that are not coming over in the correct format:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/13463_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 040806 toward the end should be coming in as 10/11/2011 and the 040623 at the bottom should be 03/21/11. Any thoughts on why this works on some but not others?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 18:17:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-26T18:17:02Z</dc:date>
    <item>
      <title>Date function not working on all data</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370866#M137933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data that represents a date in the format 'YYMMDD' and I am converting it to a readable date format of 'MM/DD/YYYY' with the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image-thumbnail jive-image" height="35" onclick="" src="https://community.qlik.com/legacyfs/online/13459_Capture.JPG" width="799" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working for most of the dates but there are a few that are not coming over in the correct format:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/13463_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 040806 toward the end should be coming in as 10/11/2011 and the 040623 at the bottom should be 03/21/11. Any thoughts on why this works on some but not others?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370866#M137933</guid>
      <dc:creator />
      <dc:date>2012-04-26T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Date function not working on all data</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370867#M137934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Have you tried something like this in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(OriginalDate,'M/D/YYYY h:mm:ss[.fff] TT') as OriginalDate,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370867#M137934</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2012-04-26T18:21:40Z</dc:date>
    </item>
    <item>
      <title>Date function not working on all data</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370868#M137935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its better to use like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(OriginalDate,'YYMMDD'),'MM/DD/YYYY') as OriginalDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-not-working-on-all-data/m-p/370868#M137935</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-26T18:23:13Z</dc:date>
    </item>
  </channel>
</rss>

