<?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: show data in correct time zone, can I do UTC+10 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647182#M670058</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;Not sure why you need maketime(); this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Hour(ConvertToLocalTime(sales_date , 'Sydney'))&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>Fri, 03 Oct 2014 06:49:10 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-10-03T06:49:10Z</dc:date>
    <item>
      <title>show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647179#M670055</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;is there a way to show the hours of a graph in our time zone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am querying a remote database and in the SELECT statement importing sales data for a single day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this graph I want to show at what times during the day we sell more of this product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a bar chart showing the sales/hour, but the hours are displayed in UTC time zone as this is how it is recorded in the remote time zone&lt;/P&gt;&lt;P&gt;Rather than in "correct" time zone for Sydney which is UTC+10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to do this in the "Edit Expression" area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice appreciated, thanks!&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2-10-2014 9-37-05 AM.jpg" class="jive-image" src="/legacyfs/online/68150_2-10-2014 9-37-05 AM.jpg" style="width: 620px; height: 194px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2-10-2014 9-38-15 AM.jpg" class="jive-image" src="/legacyfs/online/68151_2-10-2014 9-38-15 AM.jpg" style="width: 620px; height: 432px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 23:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647179#M670055</guid>
      <dc:creator />
      <dc:date>2014-10-01T23:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647180#M670056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the ConvertToLocalTime function to convert a UTC timestamp to a local timestamp. From the help file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor526"&gt;&lt;/A&gt;&lt;A name="ConvertToLocalTime("&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;ConvertToLocalTime(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;timestamp [, place [, ignore_dst=false]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number of cities, places and time zones around the world. &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;Valid places and time zones:&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Abu Dhabi, Adelaide, Alaska, Almaty, Amsterdam, Arizona, Astana, Athens, Atlantic Time (Canada), Auckland, Azores, Baghdad, Baku, Bangkok, Beijing, Belgrade, Berlin, Bern, Bogota, Brasilia, Bratislava, Brisbane, Brussels, Bucharest, Budapest, Buenos Aires, Cairo, Canberra, Cape Verde Is., Caracas, Casablanca, Central America, Central Time (US &amp;amp; Canada), Chennai, Chihuahua, Chongqing, Copenhagen, Darwin, Dhaka, Eastern Time (US &amp;amp; Canada), Edinburgh, Ekaterinburg, Fiji, Georgetown, Greenland, Greenwich Mean Time : Dublin, Guadalajara, Guam, Hanoi, Harare, Hawaii, Helsinki, Hobart, Hong Kong, Indiana (East), International Date Line West, Irkutsk, Islamabad, Istanbul, Jakarta, Jerusalem, Kabul, Kamchatka, Karachi, Kathmandu, Kolkata, Krasnoyarsk, Kuala Lumpur, Kuwait, Kyiv, La Paz, Lima, Lisbon, Ljubljana, London, Madrid, Magadan, Marshall Is., Mazatlan, Melbourne, Mexico City, Mid-Atlantic, Midway Island, Minsk, Monrovia, Monterrey, Moscow, Mountain Time (US &amp;amp; Canada), Mumbai, Muscat, Nairobi, New Caledonia, New Delhi, Newfoundland, Novosibirsk, Nuku'alofa, Nuku´alofa, Osaka, Pacific Time (US &amp;amp; Canada), Paris, Perth, Port Moresby, Prague, Pretoria,Quito, Rangoon, Riga, Riyadh, Rome, Samoa, Santiago, Sapporo, Sarajevo, Saskatchewan, Seoul, Singapore, Skopje, Sofia, Solomon Is., Sri Jayawardenepura, St. Petersburg, Stockholm, Sydney, Taipei, Tallinn, Tashkent, Tbilisi, Tehran, Tijuana, Tokyo, Ulaan Bataar, Urumqi, Warsaw, Wellington, West Central Africa, Vienna, Vilnius, Vladivostok, Volgograd, Yakutsk, Yerevan or Zagreb. &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Also GMT, GMT-01:00, GMT+04:00 etc. are valid places. &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;The resulting time is adjusted for daylight savings time, unless the third parameter is set to 1 or true(). &lt;/P&gt;&lt;P class="example" style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;ConvertToLocalTime(’2007-11-10 23:59:00’,’Paris’)&lt;/SPAN&gt; returns ’2007-11-11 00:59:00’ and the corresponding internal timestamp representation. &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN class="Code"&gt;ConvertToLocalTime(UTC(), ’GMT-05:00’)&lt;/SPAN&gt; returns the time for the North American east coast, e.g. New York. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 07:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647180#M670056</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-02T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647181#M670057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;thank you for taking the time to help, appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the ConvertToLocalTime version but could not get it to work together with the maketime (hour) command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are after is the Hour from the sales date only, which works in my formula above.&lt;/P&gt;&lt;P&gt;But it is shown in UTC time while I was hoping to show it in our time zone which is UTC+10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bjorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 06:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647181#M670057</guid>
      <dc:creator />
      <dc:date>2014-10-03T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647182#M670058</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;Not sure why you need maketime(); this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Hour(ConvertToLocalTime(sales_date , 'Sydney'))&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>Fri, 03 Oct 2014 06:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647182#M670058</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-03T06:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647183#M670059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haha, that worked beautifully!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for taking the time to help, really appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 22:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647183#M670059</guid>
      <dc:creator />
      <dc:date>2014-10-06T22:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: show data in correct time zone, can I do UTC+10 ?</title>
      <link>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647184#M670060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kept the maketime get AM and PM times, rather than just hours with 0,1,2,3,4,5,6,7,8,9,10,11,12,13....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=maketime(Hour(ConvertToLocalTime(sales_date , 'Sydney')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="7-10-2014 9-58-21 AM.jpg" class="jive-image" src="/legacyfs/online/68352_7-10-2014 9-58-21 AM.jpg" style="width: 620px; height: 185px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 22:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-data-in-correct-time-zone-can-I-do-UTC-10/m-p/647184#M670060</guid>
      <dc:creator />
      <dc:date>2014-10-06T22:59:13Z</dc:date>
    </item>
  </channel>
</rss>

