<?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 yyyymmdd to dd/mm/yyyy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935895#M467757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(alt(Date#(DATE, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;'YYYYMMDD'&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)), 'DD/MM/YYYY') as NewDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 09:06:08 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2015-10-21T09:06:08Z</dc:date>
    <item>
      <title>Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935891#M467753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue while converting a date from 'yyyymmdd' to 'DD/MM/YYYY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below formula in my Load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(alt(Date#(DATE, 'yyyymmdd')), 'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the correct answer in my table on qlikview.&lt;/P&gt;&lt;P&gt;Ex. 21/10/2015&lt;/P&gt;&lt;P&gt;However when I export the table in excel it becomes like this:&lt;/P&gt;&lt;P&gt;21//2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when i try using the expression =if(Date= today(), Date) to get the data of only today, my table becomes empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935891#M467753</guid>
      <dc:creator />
      <dc:date>2015-10-21T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935892#M467754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your parsing format code should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(alt(Date#(DATE, &lt;STRONG&gt;'YYYYMMDD'&lt;/STRONG&gt;)), 'DD/MM/YYYY') as Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935892#M467754</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-21T09:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935893#M467755</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;= Date(date#(Date,'YYYY-DD-MM'),'MM/DD/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Hirish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935893#M467755</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2015-10-21T09:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935894#M467756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct&amp;nbsp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;yyyymmdd' to 'yyyyMMdd' or 'YYYYMMDD'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(alt(Date#(DATE, 'yyyyMMdd')), 'DD/MM/YYYY') as Date&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935894#M467756</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2015-10-21T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935895#M467757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(alt(Date#(DATE, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;'YYYYMMDD'&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)), 'DD/MM/YYYY') as NewDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935895#M467757</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-10-21T09:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935896#M467758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl thanks everyone for your help.&lt;/P&gt;&lt;P&gt;It is working fine now.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935896#M467758</guid>
      <dc:creator />
      <dc:date>2015-10-21T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935897#M467759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Swuehl has answered your question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The alt() in your expression is redundant, as you have not provided an alternate value if the Date#() evaluates to null. It does not break the expression though. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 09:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935897#M467759</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-21T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert yyyymmdd to dd/mm/yyyy</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935898#M467760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to note the reason for this (I fell into the same trap for a time);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'mm' is the internal format code for minutes, 'MM' is for Months.&amp;nbsp; (There is no difference between d and D, so Qlik 'knows' what to do in that case).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 11:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-yyyymmdd-to-dd-mm-yyyy/m-p/935898#M467760</guid>
      <dc:creator>quriouss</dc:creator>
      <dc:date>2015-10-21T11:51:34Z</dc:date>
    </item>
  </channel>
</rss>

