<?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: Convert to GMT with DST adjustment in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149345#M375777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bill, Ralf's solution from that old thread helps me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 16:21:47 GMT</pubDate>
    <dc:creator>yura_ratu</dc:creator>
    <dc:date>2016-07-26T16:21:47Z</dc:date>
    <item>
      <title>Convert to GMT with DST adjustment</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149342#M375774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to convert two types of Eastern time - with and without DST adjustment - to GMT.&lt;/P&gt;&lt;P&gt;I'm using ConvertToLocalTime function with opposite offset to achieve it. It works fine without DST&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ConvertToLocalTime([Time Local], 'GMT+05:00',-1)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I change last parameter to 0, It doesn't change anything.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ConvertToLocalTime([Time Local], 'GMT+05:00',0) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The interesting thing is, if I try to use 'GMT-', e.g. like this&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ConvertToLocalTime([Time Local], 'GMT-05:00',0) &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DST adjustment works fine, however it is not the timezone I need.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any ideas how to achieve it?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149342#M375774</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2016-07-26T15:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to GMT with DST adjustment</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149343#M375775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConvertToLocalTime([Time Local], 'GMT+05:00') and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ConvertToLocalTime([Time Local], 'GMT+04:00')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149343#M375775</guid>
      <dc:creator />
      <dc:date>2016-07-26T15:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to GMT with DST adjustment</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149344#M375776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;ConvertToLocalTime() &lt;/EM&gt;Converts a UTC or GMT timestamp to local time as a dual value &lt;EM style="font-size: 8pt;"&gt; [pasted from the Help]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas what you are trying to do is the opposite, as in converting a local time to GMT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also GMT [aka UTC] does not have daylight saving.&amp;nbsp; Always best to use a major city for the time zone, e.g. 'New York' as cities do have daylight saving.&amp;nbsp; Also different cities also change to DST on different days of the year.&amp;nbsp; Fiji for reasons best know to them a few years back decided to change their DST in November and mid January which seemed to catch most people out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlik for some reason best know to them does not have a &lt;EM style="font-size: 13.3333px;"&gt;Convert&lt;STRONG&gt;From&lt;/STRONG&gt;LocalTime() &lt;/EM&gt;function which makes what you are trying to do less than easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this thread, &lt;A href="https://community.qlik.com/thread/49538"&gt;How to convert from local time?&lt;/A&gt; - it may give you some inspiration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149344#M375776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T15:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert to GMT with DST adjustment</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149345#M375777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bill, Ralf's solution from that old thread helps me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-to-GMT-with-DST-adjustment/m-p/1149345#M375777</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2016-07-26T16:21:47Z</dc:date>
    </item>
  </channel>
</rss>

