<?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: convert to date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459785#M435855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, this expression might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(MakeDate(Mid(Date1,Len(Date1)-3,5),Num(Month(Date#(Mid(Date1,5,3), 'MMMM'))),Mid(Date1,9,2)),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can also make some changes in the load script.&amp;nbsp; Depends on your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Date1 = Your date field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 18:39:52 GMT</pubDate>
    <dc:creator>jcampbell474</dc:creator>
    <dc:date>2018-01-05T18:39:52Z</dc:date>
    <item>
      <title>convert to date</title>
      <link>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459784#M435854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to I convert to MM/DD/YYYY format for the date which Is in "Fri Sep 08 12:40:59 PDT 2017" format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459784#M435854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T18:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: convert to date</title>
      <link>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459785#M435855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, this expression might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(MakeDate(Mid(Date1,Len(Date1)-3,5),Num(Month(Date#(Mid(Date1,5,3), 'MMMM'))),Mid(Date1,9,2)),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can also make some changes in the load script.&amp;nbsp; Depends on your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Date1 = Your date field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459785#M435855</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2018-01-05T18:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: convert to date</title>
      <link>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459786#M435856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You can convert the MonthAbv to a number using a Mapping table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MapMonthAbv:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mapping load * inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MonthAbv,MonthNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Feb,2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mar,3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then you can parse the current field using substring:&lt;/P&gt;&lt;P&gt;ApplyMap('&lt;SPAN style="font-size: 13.3333px;"&gt;MapMonthAbv',&lt;/SPAN&gt;substring(YourField,' ',2)) as MonthNo,&lt;/P&gt;&lt;P&gt;substring(YourField,' ',3) as Day,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;substring(YourField,' ',6) as Year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Finally:&lt;/P&gt;&lt;P&gt;date(makedate(Year,MonthNo,Day),'MM/DD/YYYY') as MyDate,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-to-date/m-p/1459786#M435856</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-01-05T18:41:45Z</dc:date>
    </item>
  </channel>
</rss>

