<?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: Timestamp conversions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610845#M1117296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work. Have you tested on the attached qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 14:35:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-05T14:35:22Z</dc:date>
    <item>
      <title>Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610843#M1117294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's attached an example qvw that you can run on your machines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the Timestamp only suports 17 characters and I need 23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As how it is now it trims 6 characters (4 from the year, a dash and a month digit), but if I take off the milliseconds from the Date string (which consist in a point and 3 digits=4 characters) it only trims 6-4=2 characters from the Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InputTable:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; MDate, Contract_ID,Attribute_Name,Attribute_Value_Text&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2012-05-23 17:21:22.111', ball,color,red&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2012-05-23 17:21:22.111', ball,diameter,10 cm&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2012-05-23 17:21:22.111', ball,weight,100 g&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2014-05-23 17:21:22.111', box,color,black&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2014-05-23 17:21:22.111', box,height,16 cm&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2014-05-23 17:21:22.111', box,length,20 cm&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2014-05-23 17:21:22.111', box,weight,500 g&lt;/P&gt;&lt;P&gt;&amp;nbsp; '2014-05-23 17:21:22.111', box,width,10 cm&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* resulting table (delimiter=tab):&lt;/P&gt;&lt;P&gt;object color diameter weight height length width&lt;/P&gt;&lt;P&gt;ball red 10 cm 100 g&lt;/P&gt;&lt;P&gt;box black 500 g 16 cm 20 cm 10 cm&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GenTable:&lt;/P&gt;&lt;P&gt;Generic Load&amp;nbsp; timestamp(MDate,'YYYY-MM-DD HH:MM:SS.FFF') as SDate, Contract_ID, Attribute_Name, Attribute_Value_Text as AttributeValue Resident InputTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResultTable:&lt;/P&gt;&lt;P&gt;LOAD Distinct timestamp(MDate,'YYYY-MM-DD HH:MM:SS.FFF') as SDate, Contract_ID Resident InputTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610843#M1117294</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610844#M1117295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use timestamp(MDate,'YYYY-MM-DD hh:mm:ss.fff') instead of&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610844#M1117295</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2014-02-05T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610845#M1117296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work. Have you tested on the attached qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610845#M1117296</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610846#M1117297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any problems in the attached file, except the one that &lt;A href="https://community.qlik.com/qlik-users/37473"&gt;Martin Pohl&lt;/A&gt; pointed out (M is for months, m is for minutes).&amp;nbsp; No any trimming...&lt;/P&gt;&lt;P&gt;Can you explain in some other way what the problem is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610846#M1117297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-05T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610847#M1117298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So on the plain table displayed on the example it shows the whole date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not on my machine.&lt;IMG alt="Untitled.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/52615_Untitled.jpg" style="width: 620px; height: 59px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610847#M1117298</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610848#M1117299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to ensure your settings for timestamp does not contain [] for millisecond, by default it is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss.fff';&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use timestamp#(MDate,'YYYY-MM-DD hh:mm:ss.fff') to interpret the date string correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610848#M1117299</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-05T14:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610849#M1117300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured out. Just had to re-size manually the column by dragging and dropping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why QV didn't auto adjust to the column size from the start!!! So much trouble because of a cosmetic thing!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610849#M1117300</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610850#M1117301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is correct:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2012-05-23 17:21:22.111&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2014-05-23 17:21:22.111&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried in QV 11:20 SR5 and in QV 8.50&lt;/P&gt;&lt;P&gt;The machine is Windows 7 64-bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610850#M1117301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-05T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610851#M1117302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also have tried that before and didn't work. I already figured out the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610851#M1117302</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610852#M1117303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Windows 7 64-bit here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/52646_Untitled.jpg" style="width: 620px; height: 415px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610852#M1117303</guid>
      <dc:creator />
      <dc:date>2014-02-05T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610853#M1117304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/3931"&gt;Michael Solomovich&lt;/A&gt; do you have any idea why in your machine you didn't have this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610853#M1117304</guid>
      <dc:creator />
      <dc:date>2014-02-05T15:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610854#M1117305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea.&amp;nbsp; In fact it is strange how it looks on your machine.&amp;nbsp; If a numeric field doesn't fit in the cell, it should not be trimmed, it should show ####.&lt;/P&gt;&lt;P&gt;The behavior (trimming) in you screenshot implies that it is text field.&amp;nbsp; But it behaves as numeric for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610854#M1117305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-05T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610855#M1117306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You think we should scale this to some of the Gods here? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610855#M1117306</guid>
      <dc:creator />
      <dc:date>2014-02-05T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610856#M1117307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your life philosophy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I'm OK with the fact that there are things I don't know... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 16:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610856#M1117307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-05T16:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversions</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610857#M1117308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I'm not OK if another developer has to go to the same problems I had to... I like to think I can make the world better &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 16:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-conversions/m-p/610857#M1117308</guid>
      <dc:creator />
      <dc:date>2014-02-05T16:51:11Z</dc:date>
    </item>
  </channel>
</rss>

