<?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 and Datetime issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1627911#M826683</link>
    <description>&lt;P&gt;I am getting error while using expression Date(Datetime,'YYYYMMDD') where DateTime =9/12/2019 12:00:00 AM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives me number 43725 . I want to display 20190912.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 02:38:43 GMT</pubDate>
    <dc:creator>jasmeenkr</dc:creator>
    <dc:date>2019-09-25T02:38:43Z</dc:date>
    <item>
      <title>Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348368#M826678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;I‌ have a table field which data type is DateTime. &lt;/SPAN&gt;Till&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; last week it has only DATE data like 2017-01-01 00:00:00. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A‌ll&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; data in this field was like this. I was pulling this information in Qlikview using Date function to get only Date part and leaving the time &lt;/SPAN&gt;protion&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;F‌rom current week, this field in SQL table is also storing HOUR information. So now the data is like 2017-01-01 12:00:00.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;B‌ut in &lt;/SPAN&gt;qlikview&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; I am still using Date function to get only Date part and leaving the time portion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;M‌y Date function is &lt;/SPAN&gt;like:&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; DATE(START_DATE, "DD-MM-YY")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;N‌‌ow my question is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;After the hour part is added in SQL Table, &lt;/SPAN&gt;Qlikview&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; is not displaying the correct result in charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;W‌hat I found is that for a particular product in SQL Table, we have data for 2nd July 2017 to 6th JULY 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;B‌ut Qlikview is displaying data for only 3 July, 4 July and 5 July in chart , but it has loaded all rows from SQL table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;I‌ am not able to understand why Qlikview is not taking data for 2 July and 6 July while calculating data in &lt;/SPAN&gt;chart&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;I‌ have checked the log file and it says that Qlikview has loaded all rows from SQL table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;P‌lease&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;help&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt; me understand why this &lt;/SPAN&gt;behaviour&lt;SPAN style="color: #222222; font-family: arial, tahoma; font-size: 13.3333px;"&gt;.&amp;nbsp; &lt;/SPAN&gt;&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-and-Datetime-issues/m-p/1348368#M826678</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348369#M826679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try to use Date# and date like Date(Date#(fieldname,'format'),'format')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 13:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348369#M826679</guid>
      <dc:creator>pipuindia99</dc:creator>
      <dc:date>2017-07-07T13:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348370#M826680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the Date function you don't 'leave' the time portion, it is a formatting function only, please read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 13:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348370#M826680</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2017-07-07T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348371#M826681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the timestamp variable format as per the format of START_TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimestampFormat='YYYY-MM-DD hh:mm:ss';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Now you can try this&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #222222; font-size: 13.3333px; font-family: arial, tahoma;"&gt;date(floor(START_DATE),'DD-MM-YY') as &lt;EM style="color: #222222; font-size: 13.3333px; font-family: arial, tahoma;"&gt;START_DATE&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #222222; font-size: 13.3333px; font-family: arial, tahoma;"&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 13:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348371#M826681</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-07T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348372#M826682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for help.&lt;/P&gt;&lt;P&gt;I have read this article and found the internal working of Date function.&lt;/P&gt;&lt;P&gt;Now I got, even when I was using the Date function to eliminate the Time part from date field, the internal calculation of Qlikview was still using the time part but the front part was displaying only Date part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this useful link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 09:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1348372#M826682</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2017-07-10T09:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date and Datetime issues</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1627911#M826683</link>
      <description>&lt;P&gt;I am getting error while using expression Date(Datetime,'YYYYMMDD') where DateTime =9/12/2019 12:00:00 AM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives me number 43725 . I want to display 20190912.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 02:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Datetime-issues/m-p/1627911#M826683</guid>
      <dc:creator>jasmeenkr</dc:creator>
      <dc:date>2019-09-25T02:38:43Z</dc:date>
    </item>
  </channel>
</rss>

