<?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 CONVERSION in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555772#M687952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gandhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(RECEIPT_DATE,'YYYYMMDD'),'MM/DD/YYYY') as %RECEIPT_DATE -- This script definitely works if your date format is in this pattern, check the raw data in Qlikview without converting, how this data is loading in Qlikview.&amp;nbsp; If it loads as number then you simply use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(RECEIPT_DATE, 'MM/DD/YYYY') as %RECEIPT_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this not works, can you post some sample values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 02:01:00 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-11-21T02:01:00Z</dc:date>
    <item>
      <title>DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555768#M687948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Data Warehouse Table with the Calendar table having its date fields in the following format:&lt;/P&gt;&lt;P&gt;YYYYMMDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to convert it to MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the following during my load:&lt;/P&gt;&lt;P&gt;Date(Date#(RECEIPT_DATE,'YYYYMMDD'),'MM/DD/YYYY') as %RECEIPT_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not giving me the right result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555768#M687948</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2013-11-20T22:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555769#M687949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4f4f4f; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ebffed;"&gt;SELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4f4f4f; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ebffed;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4f4f4f; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ebffed;"&gt;&lt;A href="http://www.sql-server-helper.com/tips/date-formats.aspx" title="http://www.sql-server-helper.com/tips/date-formats.aspx"&gt;SQL Server Helper - Tips and Tricks - Date Formats&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 00:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555769#M687949</guid>
      <dc:creator />
      <dc:date>2013-11-21T00:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555770#M687950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4f4f4f; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ebffed;"&gt;SELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 00:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555770#M687950</guid>
      <dc:creator />
      <dc:date>2013-11-21T00:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555771#M687951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post some sample data so we can help. Your expression should work if the source field value like date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 00:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555771#M687951</guid>
      <dc:creator />
      <dc:date>2013-11-21T00:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555772#M687952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gandhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(RECEIPT_DATE,'YYYYMMDD'),'MM/DD/YYYY') as %RECEIPT_DATE -- This script definitely works if your date format is in this pattern, check the raw data in Qlikview without converting, how this data is loading in Qlikview.&amp;nbsp; If it loads as number then you simply use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(RECEIPT_DATE, 'MM/DD/YYYY') as %RECEIPT_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this not works, can you post some sample values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 02:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555772#M687952</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-21T02:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555773#M687953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;if(len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RECEIPT_DATE&lt;/SPAN&gt;)&amp;gt;0,Date(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RECEIPT_DATE,'YYYYMMDD'),'MM/DD/YYYY')) as %RECEIPT_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 04:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555773#M687953</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-11-21T04:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: DATE CONVERSION</title>
      <link>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555774#M687954</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; First Change date format (which is mention in load script by default) according to your date format then try your date conversion script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DATE-CONVERSION/m-p/555774#M687954</guid>
      <dc:creator />
      <dc:date>2013-11-21T05:22:24Z</dc:date>
    </item>
  </channel>
</rss>

