<?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: how to convert a local time to utc time when I have the time zone? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261023#M98418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think converting to the opposite should work.&amp;nbsp; In another words, if time zone is GMT+05:00, then to get the utc time from the local time, you should be able to do a converttolocaltime(start time, 'GMT-05:00).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't seem to get converttolocaltime to accept 'GMT-05:00).&amp;nbsp; GMT-05:00 is not a valid place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the manual, it has an example of ConvertToLocalTime(UTC(), 'GMT-05:00').&amp;nbsp; I tried but qlikview doesn't accept it as a valid place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp; ConvertToLocalTime(UTC(), 'GMT') does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 18:55:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-19T18:55:05Z</dc:date>
    <item>
      <title>how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261021#M98416</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;I have a table where it's storing the time zone and the local time.&amp;nbsp; How do I convert that information back into UTC time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time Zone, Start Time, End Time&lt;/P&gt;&lt;P&gt;'Paris', 08:00, 17:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the converttolocaltime function to convert from utc to local time but not sure how to do it the other way around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261021#M98416</guid>
      <dc:creator />
      <dc:date>2011-10-19T17:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261022#M98417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;ConvertToLocalTime([Start Time], 'UTC')&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your version of Windows, you might need to set 'GMT' instead of 'UTC'. You might need as well to set it to 'UTC-01:00' (or 'GMT-01:00') depending on the time zone, so you can generate that format in a different field based on [Time Zone] field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 18:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261022#M98417</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-19T18:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261023#M98418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think converting to the opposite should work.&amp;nbsp; In another words, if time zone is GMT+05:00, then to get the utc time from the local time, you should be able to do a converttolocaltime(start time, 'GMT-05:00).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't seem to get converttolocaltime to accept 'GMT-05:00).&amp;nbsp; GMT-05:00 is not a valid place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the manual, it has an example of ConvertToLocalTime(UTC(), 'GMT-05:00').&amp;nbsp; I tried but qlikview doesn't accept it as a valid place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp; ConvertToLocalTime(UTC(), 'GMT') does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 18:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261023#M98418</guid>
      <dc:creator />
      <dc:date>2011-10-19T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261024#M98419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Windows 7 doesn't seem to work with GMT at all, but it does if I use 'UTC-01:00' instead. I know that only 'GMT+something' is documented, but that parameter does not depend on QlikView but on your operating system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that your case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 19:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261024#M98419</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-19T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261025#M98420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick.&amp;nbsp; I'm running Windows 7 also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 19:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261025#M98420</guid>
      <dc:creator />
      <dc:date>2011-10-19T19:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert a local time to utc time when I have the time zone?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261026#M98421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Miguel - This is very useful. Thanks so much. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 14:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-convert-a-local-time-to-utc-time-when-I-have-the-time/m-p/261026#M98421</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-10-21T14:17:48Z</dc:date>
    </item>
  </channel>
</rss>

