<?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: Is Daylight Saving time changing the Windows timezone? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951659#M327292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you should use&lt;SPAN style="font-family: 'courier new', courier;"&gt; localtime('UTC')&lt;/SPAN&gt; instead of &lt;SPAN style="font-family: 'courier new', courier;"&gt;Today()&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 17:12:09 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-12-17T17:12:09Z</dc:date>
    <item>
      <title>Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951657#M327290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does someone know if the Daylight Saving Time changes the Windows Timezone and so the value returned by the timezone() function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to define variables for a sql query (Timestamp in UTC) and don't want to set the offset by hand every time the DST changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. do I have to write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=timestamp(monthstart(addmonths(today(),-1))-TimeZone())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=timestamp(monthstart(addmonths(today(),-1))-(TimeZone())+DaylightSaving())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the local time monthstart in UTC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 16:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951657#M327290</guid>
      <dc:creator>oehmemat</dc:creator>
      <dc:date>2015-12-17T16:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951658#M327291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Timezone() will return a string, won't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would assume that the behaviour of the returned local time will depend on your server settings, if the 'automatically adjust clock for daylight saving' is enabled or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then would look into the time conversion functions in QV to convert your local time to UTC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951658#M327291</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-17T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951659#M327292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you should use&lt;SPAN style="font-family: 'courier new', courier;"&gt; localtime('UTC')&lt;/SPAN&gt; instead of &lt;SPAN style="font-family: 'courier new', courier;"&gt;Today()&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951659#M327292</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-17T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951660#M327293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get UTC, you could simply use the the &lt;EM&gt;UTC()&lt;/EM&gt; function that returns the timestamp now's UTC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951660#M327293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-17T17:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951661#M327294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as both function timezone() nor daylightsaving() allows no Parameter, you can only use them for today.&lt;/P&gt;&lt;P&gt;you are defining previous month (using addmonth). you Need to know if previous month was in or outside&lt;/P&gt;&lt;P&gt;daylightsaving time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i had a similiar problem recently, i defined an inline table with the dates in spring and automn (for each year, as my app used several yearsdata). then i expanded my mastercalenader by new field which contains for each day, if this day is in or outside daylight saving&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 17:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951661#M327294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-17T17:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is Daylight Saving time changing the Windows timezone?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951662#M327295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replies. I have to subtract the time offset after applying monthstart(), the function always returns the first day of month, no matter if I use UTC or local time as the parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into the inline table solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Daylight-Saving-time-changing-the-Windows-timezone/m-p/951662#M327295</guid>
      <dc:creator>oehmemat</dc:creator>
      <dc:date>2015-12-18T11:00:32Z</dc:date>
    </item>
  </channel>
</rss>

