<?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-time format lost after loading from QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195166#M882414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometime, Qlikview frustrated at us. Anyway, I got same issue few months ago. I did same thing. Still i don't know what is the problem to find?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm me, Who created that qvd? And if answer is yes, then are you sure before store to qvd do you have Date format of your field of date or number field? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Yes, Share me the data which you have for ref&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 16:10:24 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-09-30T16:10:24Z</dc:date>
    <item>
      <title>Date-time format lost after loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195162#M882410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to using a QVD file and have run into something interesting. I have a check in place to see if the QVD file exists and if it does not, then run a SQL query to load it and then save it to a QVD file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SQL query has a field that is a datetime field from what I can tell and when the SQL loads I get results like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10/22/2016 8:00:00 PM&lt;/P&gt;&lt;P&gt;10/1/2016 10:00:00 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and all this is great. It is as I want it. But when I next run the reload it loads that same file from the QVD but then my chart details change and I end up with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;42665.833333333&lt;/P&gt;&lt;P&gt;42644.916666667&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does loading it from the QVD change/alter the output?&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-time-format-lost-after-loading-from-QVD/m-p/1195162#M882410</guid>
      <dc:creator>dawgfather</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date-time format lost after loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195163#M882411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes it will happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reload the qvd you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(date#(datefield,'mm/dd/yyyy hh:mm:ss tt'),'required')&lt;/P&gt;&lt;P&gt; Or &lt;/P&gt;&lt;P&gt;Date(num(datefield),'required format')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195163#M882411</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-29T20:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date-time format lost after loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195164#M882412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to format your timestamp before storing the data into the qvd - maybe with a &lt;A href="https://community.qlik.com/qlik-blogpost/2972"&gt;Preceding Load&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;load *, timestamp(datetime, 'MM/DD/YYYY hh:mm:ss TT') as DateTimeFormatted;&lt;/P&gt;&lt;P&gt;SQL select * From MySQL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 07:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195164#M882412</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-30T07:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date-time format lost after loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195165#M882413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...this worked, but I still do not understand why it works when the data is first pulled but after loading from the QVD instead of SQL, it changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 13:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195165#M882413</guid>
      <dc:creator>dawgfather</dc:creator>
      <dc:date>2016-09-30T13:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date-time format lost after loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195166#M882414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometime, Qlikview frustrated at us. Anyway, I got same issue few months ago. I did same thing. Still i don't know what is the problem to find?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm me, Who created that qvd? And if answer is yes, then are you sure before store to qvd do you have Date format of your field of date or number field? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Yes, Share me the data which you have for ref&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 16:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-format-lost-after-loading-from-QVD/m-p/1195166#M882414</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-30T16:10:24Z</dc:date>
    </item>
  </channel>
</rss>

