<?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: time zone conversion SGT to UTC **** in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626058#M230200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Time&lt;/STRONG&gt;(yourtimetime - time#(8,'h'), 'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 06:54:32 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-03-12T06:54:32Z</dc:date>
    <item>
      <title>time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626053#M230195</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 time field Its contains time in SGT zone I want to convert it into UTC format. So that I used the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timestamp(field - time#(8,'hh.mm.ss'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it give the result wit date and the time format is like AM/ PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I dont want the&amp;nbsp; date in my resultant set&lt;/P&gt;&lt;P&gt;2. I want the result in 24 hrs format not in AM/PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do me the needful ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 02:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626053#M230195</guid>
      <dc:creator />
      <dc:date>2014-03-12T02:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626054#M230196</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;The Timestamp() function takes a second parameter where you can define how you want to format the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Timestamp(TimestampValue, 'YYYY-MM-DD hh:mm:ss')&lt;/EM&gt; for example gives you a value without the AM/PM part. If you hit F1 in QlikView and search for the timestamp function you can see the full syntax with examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 03:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626054#M230196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-12T03:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626055#M230197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thnx fr ur reply.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I tried those also.&lt;/P&gt;&lt;P&gt;If u have script fr this scenario plz share. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I seen UTC() but if I tried its nt reloading&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 03:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626055#M230197</guid>
      <dc:creator />
      <dc:date>2014-03-12T03:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626056#M230198</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Timestamp('3/12/2014 12:11:53 PM' - 0.33333, 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0.33333 is used to convert SGT to UTC&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>Wed, 12 Mar 2014 04:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626056#M230198</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-12T04:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626057#M230199</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;This one gives me wrong result. Mins and seconds are not correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626057#M230199</guid>
      <dc:creator />
      <dc:date>2014-03-12T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626058#M230200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Time&lt;/STRONG&gt;(yourtimetime - time#(8,'h'), 'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626058#M230200</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-12T06:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626059#M230201</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 tried all these type of combinations but tht mins s not correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U cab also test by hard coding some time manually&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 07:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626059#M230201</guid>
      <dc:creator />
      <dc:date>2014-03-12T07:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626060#M230202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With me it works fine!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 07:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626060#M230202</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-12T07:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626061#M230203</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;For me it is working correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Timestamp('3/12/2014 12:11:53 PM' - 0.33333, 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting 4:11:53&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>Wed, 12 Mar 2014 08:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626061#M230203</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-12T08:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626062#M230204</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;Have you tried ConvertToLocalTime function? Accounding to the reference manual:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;"ConvertToLocalTime(timestamp [, place [, ignore_dst=false]])&lt;/P&gt;
&lt;P&gt;Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number&lt;/P&gt;
&lt;P&gt;of cities, places and time zones around the world"&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you want to converto from UTC to your local time you have to type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ConvertToLocalTime([timestamp UTC Time], 'GMT+08:00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, It also works backwards, if you want to calculate UTC time instead of adding 8 hours, subtract them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ConvertToLocalTime([timestamp Local Time], 'GMT-08:00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just format the result using timestamp function. I have use this function before, and it worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 02:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626062#M230204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-16T02:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: time zone conversion SGT to UTC ****</title>
      <link>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626063#M230205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Karla's suggestion does not work for you, in the load script you could use DATEADD(hh,+/-X,&amp;lt;timestamp&amp;gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 03:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/time-zone-conversion-SGT-to-UTC/m-p/626063#M230205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-16T03:08:02Z</dc:date>
    </item>
  </channel>
</rss>

