<?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: QVDCreateTime Default Time Zone in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060299#M640286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ConvertToLocalTime(YourTime, 'UTC&lt;STRONG style="color: #ff0000;"&gt;-&lt;/STRONG&gt;10:00');&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 05:48:47 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-02-18T05:48:47Z</dc:date>
    <item>
      <title>Convert Local Time to UTC with Daylight Saving Handled Automatically</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060290#M640277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to capture the create time of a QVD file and convert it from local time to UTC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I found that QVDCreateTime function will return a timestamp with timezone UTC rather than my local time zone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we control the timezone of the return from QVDCreateTime function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060290#M640277</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060291#M640278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should have said that I think the return of QVDCreateTime function default the time zone to be 'UTC' while the time value is in local time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that will make it clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060291#M640278</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060292#M640279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It returns the time as in your local system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060292#M640279</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-18T05:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060293#M640280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi tresesco:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you for your reply. But I don't think what you are saying is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can you try the following two lines of script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET v1 = TIMESTAMP(CONVERTTOLOCALTIME(QVDCREATETIME('[Your QVD File]'),'UTC'), 'YYYY-MM-DD hh:mm:ss');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET v2 = TIMESTAMP(QVDCREATETIME('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Your QVD File]&lt;/SPAN&gt;'), 'YYYY-MM-DD hh:mm:ss');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am not in UTC, but the above script will result in v1 equal to v2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me know what do you get from the above script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060293#M640280</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060294#M640281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will return the local system time, check your system is in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;UTC zone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060294#M640281</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-18T05:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060295#M640282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I check my system timezone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I click on the clock on the bottom right and click 'Change date and time settings...', then it is showing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(UTC+10:00) Canberra, Melbourne, Sydney&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am looking at the wrong place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060295#M640282</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060296#M640283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's not make it complicated. Why don't we try simply&lt;/P&gt;&lt;P&gt;Let vQVDtime = QvdCreateTime(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Your QVD File]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you get the time of your Windows time in the variable? I get it so. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060296#M640283</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-18T05:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060297#M640284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;To answer your ConvertToLocaTime() - it takes input as UTC/GMT and if you convert it to UTC again it will always return the same output. Hope this explains your query.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;So it's about understanding the ConvertToLocalTime() function right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060297#M640284</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-18T05:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060298#M640285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your clarification. That make sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have another questions. How can I convert a local time to UTC with Daylight Saving handled automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060298#M640285</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060299#M640286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ConvertToLocalTime(YourTime, 'UTC&lt;STRONG style="color: #ff0000;"&gt;-&lt;/STRONG&gt;10:00');&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060299#M640286</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-18T05:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060300#M640287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=ConvertToLocalTime(Now(), 'UTC-08:00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060300#M640287</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-18T05:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060301#M640288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v2 = TIMESTAMP(QVDCREATETIME('[Your QVD File]'), 'YYYY-MM-DD hh:mm:ss');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v3 = TIMESTAMP(CONVERTTOLOCALTIME(CONVERTTOLOCALTIME(QVDCREATETIME('&lt;SPAN style="font-size: 13.3333px;"&gt;[Your QVD File]&lt;/SPAN&gt;'),'UTC-10:00'), 'Sydney'), 'YYYY-MM-DD hh:mm:ss');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v3 convert QVD time from local to UTC and then back to local. And v3 is different from v2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060301#M640288</guid>
      <dc:creator />
      <dc:date>2016-02-18T05:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060302#M640289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see Sydney -('GMT+11')&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115079_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ConvertToLocalTime(YourTime, 'UTC&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;-&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;11&lt;/STRONG&gt;:00');&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 06:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060302#M640289</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-18T06:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: QVDCreateTime Default Time Zone</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060303#M640290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the reason why it is showing UTC 11 is because of the Daylight Saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So specifying time zone rather than city will not handle Daylight Saving automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 06:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Local-Time-to-UTC-with-Daylight-Saving-Handled/m-p/1060303#M640290</guid>
      <dc:creator />
      <dc:date>2016-02-18T06:09:28Z</dc:date>
    </item>
  </channel>
</rss>

