<?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 AW:converting date from xml file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/converting-date-from-xml-file/m-p/195291#M55844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..sometimes you do not see the forest for the trees. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;I just had to strip the redundant day (WWW) like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;date(date#(trim(mid(field, 5, 7) &amp;amp; right(field, 4)), 'MMM DD YYYY')) as startPeriod&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 23:06:57 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2010-05-04T23:06:57Z</dc:date>
    <item>
      <title>converting date from xml file</title>
      <link>https://community.qlik.com/t5/QlikView/converting-date-from-xml-file/m-p/195290#M55843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have to read a xml file with a date value in this format:&lt;/P&gt;&lt;P&gt;'Thu Apr 01 00:00:00 CEST 2010'&lt;BR /&gt;'Fri Jan 01 00:00:00 CET 2010'&lt;/P&gt;&lt;P&gt;I've tried without the time like this&lt;/P&gt;&lt;P&gt;'Thu Apr 01 2010'&lt;BR /&gt;'Fri Jan 01 2010'&lt;/P&gt;&lt;P&gt;date(date#(field, 'WWW MMM DD YYYY'))&lt;/P&gt;&lt;P&gt;but can not convert it to a date. What is wrong?&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 14:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-date-from-xml-file/m-p/195290#M55843</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2010-03-26T14:49:55Z</dc:date>
    </item>
    <item>
      <title>AW:converting date from xml file</title>
      <link>https://community.qlik.com/t5/QlikView/converting-date-from-xml-file/m-p/195291#M55844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..sometimes you do not see the forest for the trees. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;I just had to strip the redundant day (WWW) like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;date(date#(trim(mid(field, 5, 7) &amp;amp; right(field, 4)), 'MMM DD YYYY')) as startPeriod&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 23:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-date-from-xml-file/m-p/195291#M55844</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2010-05-04T23:06:57Z</dc:date>
    </item>
  </channel>
</rss>

