<?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 ConvertToLocalTime returns different results in QV12 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ConvertToLocalTime-returns-different-results-in-QV12/m-p/1569984#M596917</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have recently moved from QV11 to QV12.20 (Nov 2017) and I noticed that&amp;nbsp;ConvertToLocalTime() returns a different date. In case of dates that are in the summer time timeframe, the field Start_datum is one day behind.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	LOAD delegation_id as %KEY_Delegatie, 
	     user_id, 
	     replacing_user_id, 
	     start_time,
	     date(floor(ConvertToLocalTime(TimeStamp(Makedate(1970,1,1)+ (start_time) /24/60/60),'GMT+01:00'))) as Start_datum,
	     date(floor(ConvertToLocalTime(TimeStamp(Makedate(1970,1,1)+ (end_time) /24/60/60),'GMT+01:00'))) as Eind_datum
	FROM [delegations.qvd] 	(qvd);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, starttime&amp;nbsp;1555106400 returns 13/4/2019 in QV11 and 12/4/2019 in QV12.&lt;/P&gt;&lt;P&gt;If I try in Qlik Sense (Feb 2019), the same happens.&lt;/P&gt;&lt;P&gt;What can I do to get the correct results?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:02:19 GMT</pubDate>
    <dc:creator>coengiesberts</dc:creator>
    <dc:date>2024-11-16T21:02:19Z</dc:date>
    <item>
      <title>ConvertToLocalTime returns different results in QV12</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertToLocalTime-returns-different-results-in-QV12/m-p/1569984#M596917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have recently moved from QV11 to QV12.20 (Nov 2017) and I noticed that&amp;nbsp;ConvertToLocalTime() returns a different date. In case of dates that are in the summer time timeframe, the field Start_datum is one day behind.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	LOAD delegation_id as %KEY_Delegatie, 
	     user_id, 
	     replacing_user_id, 
	     start_time,
	     date(floor(ConvertToLocalTime(TimeStamp(Makedate(1970,1,1)+ (start_time) /24/60/60),'GMT+01:00'))) as Start_datum,
	     date(floor(ConvertToLocalTime(TimeStamp(Makedate(1970,1,1)+ (end_time) /24/60/60),'GMT+01:00'))) as Eind_datum
	FROM [delegations.qvd] 	(qvd);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, starttime&amp;nbsp;1555106400 returns 13/4/2019 in QV11 and 12/4/2019 in QV12.&lt;/P&gt;&lt;P&gt;If I try in Qlik Sense (Feb 2019), the same happens.&lt;/P&gt;&lt;P&gt;What can I do to get the correct results?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertToLocalTime-returns-different-results-in-QV12/m-p/1569984#M596917</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2024-11-16T21:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertToLocalTime returns different results in QV12</title>
      <link>https://community.qlik.com/t5/QlikView/ConvertToLocalTime-returns-different-results-in-QV12/m-p/1586248#M596918</link>
      <description>&lt;P&gt;I suspect the answer lies in the Release Notes for the 12.30/November 2018 release under Known issues and limitations section, here is a direct link to that document:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://da3hntz84uekx.cloudfront.net/qlikview/12.30/123020000/QlikView%20November%202018%20Release%20Notes.pdf" target="_blank"&gt;https://da3hntz84uekx.cloudfront.net/qlikview/12.30/123020000/QlikView%20November%202018%20Release%20Notes.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That section is toward the end of the document, just FYI.&amp;nbsp; Hopefully this gets you the information you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ConvertToLocalTime-returns-different-results-in-QV12/m-p/1586248#M596918</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-05-29T14:08:14Z</dc:date>
    </item>
  </channel>
</rss>

