<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CONVERTTOLOCALTIME-issue/m-p/1183536#M629422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;could someone tell me how this method it supposes to work?&lt;/P&gt;&lt;P&gt;If I am converting to UTC time a UTC time, shouldn't it be returning the same time? It is not, at least for me. (GMT either).&lt;/P&gt;&lt;P&gt;UTC is not affected by DST either, thought it seems that if set the ignore_dst to true, it is returning correctly same time thought other timezones are then not working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've prepared a little load script snippet to highlight the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMESTAMP(CONVERTTOLOCALTIME(UTC(),'UTC'), 'YYYY-MM-DD hh:mm:ss') AS utc_converted_timestamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMESTAMP(UTC(), 'YYYY-MM-DD hh:mm:ss') AS utc_timestamp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOGENERATE(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;utc&lt;/SPAN&gt;_converted_timestamp and &lt;SPAN&gt;&lt;SPAN&gt;utc&lt;/SPAN&gt;_timestamp are not the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note: I have used timestamp() function for displaying purposes.&lt;/P&gt;&lt;P&gt;And please, don't ask me why I am doing this useless conversion as this is part of a complex load script, just simplified it to show the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview 11.20 SR15&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 09:45:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-27T09:45:22Z</dc:date>
    <item>
      <title>CONVERTTOLOCALTIME issue</title>
      <link>https://community.qlik.com/t5/QlikView/CONVERTTOLOCALTIME-issue/m-p/1183536#M629422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;could someone tell me how this method it supposes to work?&lt;/P&gt;&lt;P&gt;If I am converting to UTC time a UTC time, shouldn't it be returning the same time? It is not, at least for me. (GMT either).&lt;/P&gt;&lt;P&gt;UTC is not affected by DST either, thought it seems that if set the ignore_dst to true, it is returning correctly same time thought other timezones are then not working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've prepared a little load script snippet to highlight the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMESTAMP(CONVERTTOLOCALTIME(UTC(),'UTC'), 'YYYY-MM-DD hh:mm:ss') AS utc_converted_timestamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMESTAMP(UTC(), 'YYYY-MM-DD hh:mm:ss') AS utc_timestamp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOGENERATE(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;utc&lt;/SPAN&gt;_converted_timestamp and &lt;SPAN&gt;&lt;SPAN&gt;utc&lt;/SPAN&gt;_timestamp are not the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note: I have used timestamp() function for displaying purposes.&lt;/P&gt;&lt;P&gt;And please, don't ask me why I am doing this useless conversion as this is part of a complex load script, just simplified it to show the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview 11.20 SR15&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 09:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONVERTTOLOCALTIME-issue/m-p/1183536#M629422</guid>
      <dc:creator />
      <dc:date>2016-09-27T09:45:22Z</dc:date>
    </item>
  </channel>
</rss>

