<?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: Timestampconversion: Timestamp format with milliseconds in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/1611428#M527155</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Tried same code, then I saw your code it is same for my case as well, still not getting why it's not working, M I missing something?, need to calculate max from several dates.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Given format&lt;/STRONG&gt; :&amp;nbsp;MMM DD YYYY hh:mm:ss:fff TT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required Format&lt;/STRONG&gt; :&amp;nbsp;MM-DD-YYYY hh:mm:ss&lt;/P&gt;&lt;P&gt;[Sheet1]:&lt;BR /&gt;LOAD&lt;BR /&gt;[Report],&lt;BR /&gt;[Sales],&lt;BR /&gt;[reportRunDate]&lt;BR /&gt;from excel;&lt;/P&gt;&lt;P&gt;Res:&lt;BR /&gt;Load&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;max(Timestamp(Timestamp#(reportRunDate,'MMM DD YYYY hh:mm:ss:fff TT),'MM-DD-YYYY hh:mm:ss'))&lt;/STRONG&gt;&lt;/EM&gt; as maxDate&lt;/P&gt;&lt;P&gt;Resident Sheet1;&lt;/P&gt;&lt;P&gt;Drop table Sheet1;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 05:53:24 GMT</pubDate>
    <dc:creator>Shubham_Deshmukh</dc:creator>
    <dc:date>2019-08-12T05:53:24Z</dc:date>
    <item>
      <title>Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942165#M527147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I got the date and Time with the following two format:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sep 15 2015 10:23:10.345.678&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.09.2015 10:23:10.345.678&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;the timestamp is in an xml-file which I want to import.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I want to create a graph with the complete timestamp on x-axis. The data is from more than one day. Because of this I need the date an the time with the milliseconds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have no ideas how i can do this. I have already tried several ways, but i doesn't work.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I got no numerical Values on x-axis in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 14:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942165#M527147</guid>
      <dc:creator />
      <dc:date>2015-11-19T14:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942166#M527148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the last six digits denote? For milliseconds, only three digits would be needed, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you need to read your field values in so that QV interpretes them as timestamps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942166#M527148</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T16:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942167#M527149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two different Timestamps in the xml-files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Time&amp;gt;15.09.2015 10:23:10.345.678&amp;lt;/Time&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Time&amp;gt;Sep 15 2015 10:23:10.345.678&amp;lt;/Time&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the last six digits are because of the simulation-software. hh:mm:ss.milliseconds.microseconds.&lt;/P&gt;&lt;P&gt;Maybe it is easier to cut the microseconds but I have no idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another problem to solve. I get a start time of simulation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Start&amp;gt;Tue Sep 15 10:23:01&amp;lt;/Start&amp;gt;&lt;/P&gt;&lt;P&gt;and for each simulationstep a timestamp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Stamp&amp;gt;00:00:09.345.678&amp;lt;/Stamp&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result for each simulationstep for the plot in qlikview should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.09.2015 10:23:10.345.678&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried serveral things with set and timestamp#, date#.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DateFormat='DD.MM.YYYY';&lt;/P&gt;&lt;P&gt;//SET TimestampFormat='DD.MM.YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD.MM.YYYY hh:mm:ss.fff.fff';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TTT:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp#(Time, 'MMM dd YYYY hh:mm:ss.fff.fff) as Time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp#(Start, 'ddd MMM YY hh:mm:ss') as StartTime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stamp&lt;/P&gt;&lt;P&gt;FROM &lt;C&gt; (XmlSimple, Table is [test]);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="274" src="https://community.qlik.com/legacyfs/online/106122_pastedImage_57.png" style="width: 456px; height: 274.335px;" width="456" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and tried to change the settings of the diagramm but i didn't get it.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 21:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942167#M527149</guid>
      <dc:creator />
      <dc:date>2015-11-19T21:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942168#M527151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post the test.xml file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 21:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942168#M527151</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-19T21:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942169#M527152</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_192157_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106151_QlikCommunity_Thread_192157_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14479789581162419" jivemacro_uid="_14479789581162419"&gt;
&lt;P&gt;tabTimestamps:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(Alt(Timestamp#(Left(DateTime,Len(DateTime)-4),'DD.MM.YYYY hh:mm:ss.fff'),Timestamp#(Left(DateTime,Len(DateTime)-4),'MMM DD YYYY hh:mm:ss.fff')),'DD.MM.YYYY hh:mm:ss.fff') as DateTime2&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sep 15 2015 10:23:10.345.678&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.09.2015 11:23:10.345.678&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 00:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942169#M527152</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-20T00:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942170#M527153</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;now it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I'm able to create a chart with the timestamps. I tried several times, but I didn' get it. Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a part of the xml-file is in the attachments. (Original filesize up to 10GB, because of the duration an number of events of the simulation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is:&lt;/P&gt;&lt;P&gt;- I want to import the file in Qlikview&lt;/P&gt;&lt;P&gt;- create an Absolute Timestamp for each event like DateTime2 15.09.2015 12:23:45.948 for charts&lt;/P&gt;&lt;P&gt;- create a Chart with contains the values of the different Variables vs Timestamp&lt;/P&gt;&lt;P&gt;- and if it is possible a dot or something else with the name of the Event, when a Event occurs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 10:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/942170#M527153</guid>
      <dc:creator />
      <dc:date>2015-11-20T10:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timestampconversion: Timestamp format with milliseconds in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/1611428#M527155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Tried same code, then I saw your code it is same for my case as well, still not getting why it's not working, M I missing something?, need to calculate max from several dates.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Given format&lt;/STRONG&gt; :&amp;nbsp;MMM DD YYYY hh:mm:ss:fff TT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required Format&lt;/STRONG&gt; :&amp;nbsp;MM-DD-YYYY hh:mm:ss&lt;/P&gt;&lt;P&gt;[Sheet1]:&lt;BR /&gt;LOAD&lt;BR /&gt;[Report],&lt;BR /&gt;[Sales],&lt;BR /&gt;[reportRunDate]&lt;BR /&gt;from excel;&lt;/P&gt;&lt;P&gt;Res:&lt;BR /&gt;Load&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;max(Timestamp(Timestamp#(reportRunDate,'MMM DD YYYY hh:mm:ss:fff TT),'MM-DD-YYYY hh:mm:ss'))&lt;/STRONG&gt;&lt;/EM&gt; as maxDate&lt;/P&gt;&lt;P&gt;Resident Sheet1;&lt;/P&gt;&lt;P&gt;Drop table Sheet1;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 05:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestampconversion-Timestamp-format-with-milliseconds-in-chart/m-p/1611428#M527155</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-08-12T05:53:24Z</dc:date>
    </item>
  </channel>
</rss>

