<?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 Daylight saving parameter in ConvertToLocalTime function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713150#M1076839</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'm using ConvertToLocalTime function, but I'm having problems with daylight saving times. Checking the manual I've found that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;EM&gt;ConvertToLocalTime(timestamp [, place [, ignore_dst=false]])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;EM&gt;of cities, places and time zones around the world.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there's no example about how to use dst flag. I've tried to add True (to enable dst) as a third parameter but it doesn't work. Could you please advise regarding how to use this function correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Jul 2014 18:28:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-20T18:28:34Z</dc:date>
    <item>
      <title>Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713150#M1076839</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'm using ConvertToLocalTime function, but I'm having problems with daylight saving times. Checking the manual I've found that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;EM&gt;ConvertToLocalTime(timestamp [, place [, ignore_dst=false]])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;EM&gt;of cities, places and time zones around the world.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there's no example about how to use dst flag. I've tried to add True (to enable dst) as a third parameter but it doesn't work. Could you please advise regarding how to use this function correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jul 2014 18:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713150#M1076839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-20T18:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713151#M1076840</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;Pls try below things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConvertToLocalTime handles DST by default. See ConvertToLocalTime function in the Ref Guide or the Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use ConverToLocalTime(DateField) and are you&amp;nbsp; return the data based on the windows timezone, or you have the file in a server? which Time Zone you are trying to get Windows or Server time zone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ConvertToLocalTime( timestamp [, place [, ignore_dst=false]]])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You still need to specify the place.&lt;/P&gt;&lt;P&gt;ConvertToLocal(timestamp, 'GMT-5:00')&lt;/P&gt;&lt;P&gt;will convert the timestamp to GMT-5:00 and take into account whether timestamp falls into a DST range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the default timezone is always the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 07:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713151#M1076840</guid>
      <dc:creator />
      <dc:date>2014-07-21T07:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713152#M1076841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saumil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. Actually I'm getting the current time from my server which is in MST (GMT-7:00). Just, one additional question, if I need to convert this time to another timezone, let say EST, is it ok to use the function in the following way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ConvertToLocalTime(Timestamp(now()), 'GMT-05:00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 04:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713152#M1076841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T04:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713153#M1076842</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;Use True() - it is a function, so it needs the parentheses. Or else use -1 which is the numeric equivalent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 06:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713153#M1076842</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-07-22T06:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713154#M1076843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;LocalTime(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[timezone [, ignoreDST ]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P&gt;Returns a &lt;SPAN class="Italic"&gt;timestamp&lt;/SPAN&gt; of the current time from the system clock for a specified time zone. The &lt;SPAN class="Italic"&gt;timezone&lt;/SPAN&gt; is specified as a string containing any of the geographical places listed under &lt;SPAN class="Bold"&gt;Time Zone&lt;/SPAN&gt; in the &lt;SPAN class="Bold"&gt;Windows Control Panel&lt;/SPAN&gt; for &lt;SPAN class="Bold"&gt;Date and Time&lt;/SPAN&gt; or as a string in the form 'GMT+hh:mm' or 'UTC+hh:mm'. If no timezone is specified the local time will be returned. If &lt;SPAN class="Italic"&gt;ignoreDST&lt;/SPAN&gt; is -1 (true) daylight savings time will be ignored. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;&lt;CODE&gt;localtime ('Paris')&lt;/CODE&gt; &lt;/P&gt;&lt;P class="Code"&gt;&lt;CODE&gt;localtime ('GMT+01:00')&lt;/CODE&gt; &lt;/P&gt;&lt;P class="Code"&gt;&lt;CODE&gt;localtime ('Paris',-1)&lt;/CODE&gt; &lt;/P&gt;&lt;P class="Code"&gt;&lt;CODE&gt;localtime()&lt;/CODE&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 06:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713154#M1076843</guid>
      <dc:creator />
      <dc:date>2014-07-25T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713155#M1076844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that out and it worked like you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 13:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713155#M1076844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-25T13:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Daylight saving parameter in ConvertToLocalTime function</title>
      <link>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713156#M1076845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am trying to print as &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;10/19/2017 10:00 AM CST&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I also need to print zone 'CST or EST ' etc based on user system time &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;can you please tell how to achieve this&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ConvertToLocalTime&amp;nbsp; is simply giving me&amp;nbsp; 1&lt;SPAN style="font-size: 13.3333px;"&gt;0/19/2017 10:00 AM &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;also localtime() , now() , today() same results&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 15:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daylight-saving-parameter-in-ConvertToLocalTime-function/m-p/713156#M1076845</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-10-19T15:15:24Z</dc:date>
    </item>
  </channel>
</rss>

