<?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 load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430377#M818811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand is right that you don't need a parsing function like Date#() if Qlik automatically read in in as dual value (which you can see for example looking at the default right alignment of your timestamp values in the table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I assume you not only want to &lt;EM style="text-decoration: underline;"&gt;reformat&lt;/EM&gt; the timestamp values using Date() function, you want also to get rid of the numerical part that represents the time value, right? (If you don't get rid of the time part, you will see duplicate date values e.g. in a list box or dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of the time part, either use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Dayname&lt;/STRONG&gt;(CREATION_DATE) as New_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATION_DATE,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if your default format is MM/DD/YYYY) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(&lt;STRONG&gt;Floor&lt;/STRONG&gt;(CREATION_DATE),'MM/DD/YYYY') as New_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATION_DATE,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Aug 2017 17:51:37 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-08-19T17:51:37Z</dc:date>
    <item>
      <title>Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430373#M818807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date column&lt;/P&gt;&lt;P&gt;examples&lt;/P&gt;&lt;P&gt;a) 12/3/2015 1:01:22 PM&lt;/P&gt;&lt;P&gt;b) 6/8/2016&amp;nbsp; 2:52:33 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to convert this to date format like&lt;/P&gt;&lt;P&gt;a) 12/03/2015&lt;/P&gt;&lt;P&gt;b) 06/08/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date conversion works in a straight table (column 4 - refer image)&lt;/P&gt;&lt;P&gt;but not during data load (column 3 - ITEM_CREATE_DATE - refer image)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement in the data load is same as that used as dimension in the straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is incorrect in the data load script that causes date conversion to be null ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430373#M818807</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430374#M818808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;CREATION_DATE,&lt;/P&gt;&lt;P&gt;,Date(Date#(CREATION_DATE,'MM/DD/YYYY h:mm:ss ttt'),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;Resident tablex;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 16:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430374#M818808</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-08-19T16:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430375#M818809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;,Date(Date#(CREATION_DATE,'MM/DD/YYYY h:mm:ss ttt'),'MM/DD/YYYY') &lt;STRONG&gt;as New_CREATION_DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 17:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430375#M818809</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-19T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430376#M818810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try only with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;ID,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;CREATION_DATE,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Date(CREATION_DATE,'MM/DD/YYYY') as New_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CREATION_DATE&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Resident tablex;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 17:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430376#M818810</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-19T17:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430377#M818811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand is right that you don't need a parsing function like Date#() if Qlik automatically read in in as dual value (which you can see for example looking at the default right alignment of your timestamp values in the table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I assume you not only want to &lt;EM style="text-decoration: underline;"&gt;reformat&lt;/EM&gt; the timestamp values using Date() function, you want also to get rid of the numerical part that represents the time value, right? (If you don't get rid of the time part, you will see duplicate date values e.g. in a list box or dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get rid of the time part, either use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Dayname&lt;/STRONG&gt;(CREATION_DATE) as New_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATION_DATE,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if your default format is MM/DD/YYYY) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(&lt;STRONG&gt;Floor&lt;/STRONG&gt;(CREATION_DATE),'MM/DD/YYYY') as New_&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATION_DATE,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 17:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430377#M818811</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-08-19T17:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430378#M818812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I needed the time part to be removed&lt;/P&gt;&lt;P&gt;And your suggestion helped that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 18:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430378#M818812</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-08-19T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430379#M818813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 18:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430379#M818813</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-08-19T18:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430380#M818814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 18:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430380#M818814</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-08-19T18:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430381#M818815</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;What about me i am Wrong on input no Correct / Helpfull etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just Kidding&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 19:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430381#M818815</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-19T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion in load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430382#M818816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand, It was helpful&lt;/P&gt;&lt;P&gt;But it displayed displayed duplicate values, since time component was remaining ...which was corrected when Floor() function was used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again Thanks for the response and help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umashankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2017 19:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-in-load/m-p/1430382#M818816</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-08-19T19:40:49Z</dc:date>
    </item>
  </channel>
</rss>

