<?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 How to convert from local time? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358959#M133219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you might know there is a function ConvertToLocalTime to convert a UTC/GMT timestamp to local time with the adjustment for daylight savings time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But, how about the other direction? Why there is no function for this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I have a local time which I need to convert to UTC without daylight savings time! I know I could preload calendar table with daylight saving offset (how to generate?) or something else. But this would be very disappointing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConvertFromLocalTime() would be needed or DaylightSaving([timestamp][,place]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 22:01:55 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2012-03-19T22:01:55Z</dc:date>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358959#M133219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you might know there is a function ConvertToLocalTime to convert a UTC/GMT timestamp to local time with the adjustment for daylight savings time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But, how about the other direction? Why there is no function for this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I have a local time which I need to convert to UTC without daylight savings time! I know I could preload calendar table with daylight saving offset (how to generate?) or something else. But this would be very disappointing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConvertFromLocalTime() would be needed or DaylightSaving([timestamp][,place]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358959#M133219</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2012-03-19T22:01:55Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358960#M133220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this relevant to your question?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/159051#159051"&gt;http://community.qlik.com/message/159051#159051&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358960#M133220</guid>
      <dc:creator />
      <dc:date>2012-03-19T22:28:39Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358961#M133221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, doesn't help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358961#M133221</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2012-03-19T22:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358962#M133222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://community.qlik.com/message/122963#122963"&gt;http://community.qlik.com/message/122963&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Probably not. I tried, sorry friend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358962#M133222</guid>
      <dc:creator />
      <dc:date>2012-03-19T22:41:39Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358963#M133223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a first idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could act like my local time would be in GMT and do this test calculation for daylight saving:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( ConvertToLocalTime(&amp;lt;timestamp&amp;gt;, 'Berlin') - ConvertToLocalTime(&amp;lt;timestamp&amp;gt;, 'Berlin', true()) &amp;gt; 0, 'daylight saving', 'not')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there should be a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358963#M133223</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2012-03-19T22:52:53Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358964#M133224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, I have problem with Convert local time&amp;nbsp; function while i using that =Convertlocaltime(Today(),'kolkata') than its returns 4/20/2012 5:37 AM whenerver the current time is 4/20/2012 4:47 PM. Can guide me what is the exact problem. plzzz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 11:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358964#M133224</guid>
      <dc:creator />
      <dc:date>2012-04-20T11:24:20Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358965#M133225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@rakeshcgbsil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's probably best to create your own thread instead of bringing up old topics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check out this thread, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/37530"&gt;http://community.qlik.com/thread/37530&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 16:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358965#M133225</guid>
      <dc:creator />
      <dc:date>2012-04-20T16:10:20Z</dc:date>
    </item>
    <item>
      <title>How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358966#M133226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=ConvertToLocalTime(UTC(),'Kolkata')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 06:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358966#M133226</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2012-04-24T06:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358967#M133227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I had the same problem, how to convert from local time to UTC with and without daylight savings time and this worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358967#M133227</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2016-11-15T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert from local time?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358968#M133228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following solution based on your idea to convert to GMT in one step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimestampGMT&lt;/EM&gt;&lt;/STRONG&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ConvertToLocalTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimestampLocal&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'GMT') - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ConvertToLocalTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimestampLocal&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Rome')+&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimestampLocal&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This automatically corrects for DaylightsavingTime&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-from-local-time/m-p/358968#M133228</guid>
      <dc:creator>janbouwmans</dc:creator>
      <dc:date>2018-09-14T13:21:41Z</dc:date>
    </item>
  </channel>
</rss>

