<?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 QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154524#M376943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 11:08:05 GMT</pubDate>
    <dc:creator>apoorvasd</dc:creator>
    <dc:date>2016-08-23T11:08:05Z</dc:date>
    <item>
      <title>Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154522#M376941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pulling a date field from text file into QlikView. The values in date field in the text file are as shown in the attached picture. I am using the below expression to get the format of the date that i want to have. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(Mid([Date],5,6) &amp;amp; ' ' &amp;amp; Right([Date],4) &amp;amp; ' ' &amp;amp; Mid([Date],12,8), 'MMM DD YYYY hh:mm:ss'),' DD-MM-YYYY hh:mm:ss') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this Expression I am getting the values like, 22-07-2016 12:36:25 which is what i want. But now the problem is, the dates which have single digit day value (like 1-08-2016, 2-08-2016 etc) are not being pulled into qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In the text file, date field with single digit day value is as follows - Tue Aug &lt;SPAN style="text-decoration: underline;"&gt;2&lt;/SPAN&gt; 05:09:50 BST 2016.&lt;/P&gt;&lt;P&gt;If i change this value to &lt;SPAN style="font-size: 13.3333px;"&gt;Tue Aug &lt;SPAN style="text-decoration: underline;"&gt;02&lt;/SPAN&gt; 05:09:50 BST 2016 in the text file, then I see the data in QlikView.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there way to pull these data into QlikView or should I change the data in text file itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154522#M376941</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2016-08-23T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154523#M376942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;TimeStamp(MakeDate(SubField(Date, ' ', -1), Month(Date#(SubField(Date, ' ', 2), 'MMM')), SubField(Date, ' ', 3)) + Time#(SubField(Date, ' ', 4), 'hh:mm:ss')) as DateTime;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fri Aug 5 00:11:36 BST 2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fri Aug 5 00:26:38 BST 2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135262_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154523#M376942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-23T10:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154524#M376943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 11:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154524#M376943</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2016-08-23T11:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154525#M376944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 11:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format/m-p/1154525#M376944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-23T11:46:55Z</dc:date>
    </item>
  </channel>
</rss>

