<?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 i'm stuck.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327777#M707591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are all your values UTC based?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then maybe like this:&lt;/P&gt;&lt;P&gt;Let TZD= time(localtime()-localtime('GMT'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;P&gt;2011-11-17T13:12:27.654+00:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Timestamp(timestamp#(left(replace(Input,'T',' '),index(Input,'+')-1),'YYYY-MM-DD hh:mm:ss.fff')+'$(TZD)') as result&lt;/P&gt;&lt;P&gt;resident Input;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 17:47:24 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-11-17T17:47:24Z</dc:date>
    <item>
      <title>i'm stuck..</title>
      <link>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327775#M707589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do I convert this from a CSV&amp;nbsp; .. into a QV timestamp... while loading the CSV and converting it to local time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="20" style="height: 18px; width: 227px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD height="15" style="height: 15.0pt; width: 65pt;" width="65"&gt;&lt;STRONG&gt;2011-11-17T13:12:27.654+00:00&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Notice the T between DATE and TIME and the UTC indicator (+00:00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm crosseyed with LOAD statments.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks so much for helping!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327775#M707589</guid>
      <dc:creator />
      <dc:date>2011-11-17T17:13:23Z</dc:date>
    </item>
    <item>
      <title>i'm stuck..</title>
      <link>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327776#M707590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like this should do it.&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('2011-11-17T13:12:27.654+00:00','+','T')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,'T',2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,'hh:mm:ss') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327776#M707590</guid>
      <dc:creator>RedSky001</dc:creator>
      <dc:date>2011-11-17T17:27:25Z</dc:date>
    </item>
    <item>
      <title>i'm stuck..</title>
      <link>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327777#M707591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are all your values UTC based?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then maybe like this:&lt;/P&gt;&lt;P&gt;Let TZD= time(localtime()-localtime('GMT'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;P&gt;2011-11-17T13:12:27.654+00:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Timestamp(timestamp#(left(replace(Input,'T',' '),index(Input,'+')-1),'YYYY-MM-DD hh:mm:ss.fff')+'$(TZD)') as result&lt;/P&gt;&lt;P&gt;resident Input;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 17:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327777#M707591</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-17T17:47:24Z</dc:date>
    </item>
    <item>
      <title>i'm stuck..</title>
      <link>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327778#M707593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok - got the "simplest" solution. Just needed 2 x kick in the back..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ConvertToLocalTime&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;timestamp#&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;[time (UTC)]&lt;/SPAN&gt;,'T',' '),'+',1),'YYYY-MM-DD hh:mm:ss[.fff]')) &lt;SPAN class="s1"&gt;as&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;TimeX &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;(Time(UTC) is the field name) = to the engineers vision of a time stamp listed above. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/i-m-stuck/m-p/327778#M707593</guid>
      <dc:creator />
      <dc:date>2011-11-17T19:33:20Z</dc:date>
    </item>
  </channel>
</rss>

