<?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: help with timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629337#M1088948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In load script load a table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Date(Date#(Left(OldDate,6),'YYMMDD'),'DD/MM/YYYY') as NewDate,&lt;/P&gt;&lt;P&gt;Time(Time#(Mid(OldDate,7,6),'hhmmss'),'hh:mm:ss') as NewTime;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;OldDate&lt;/P&gt;&lt;P&gt;1306052300376&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or in front end try with this in any text object&lt;/P&gt;&lt;P&gt;For Date&lt;/P&gt;&lt;P&gt;Date(Date#(Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1306052300376&lt;/SPAN&gt;,6),'YYMMDD'),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Time&lt;/P&gt;&lt;P&gt;Time(Time#(Mid(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1306052300376&lt;/SPAN&gt;,7,6),'hhmmss'),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 13:52:10 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-05-27T13:52:10Z</dc:date>
    <item>
      <title>help with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629334#M1088944</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 field with a timestamp, the values of this field are formatted like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1306052300376&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is broken up as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;13 = Year&lt;/P&gt;&lt;P&gt;06 = Month&lt;/P&gt;&lt;P&gt;05 = Day&lt;/P&gt;&lt;P&gt;23 = Hour&lt;/P&gt;&lt;P&gt;00 = Mins&lt;/P&gt;&lt;P&gt;37 = Secs&lt;/P&gt;&lt;P&gt;6 = Extract counter (I want to ignore this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i reformat these in the script to be a seperate date field (DD/MM/YYYY) and a seperate time field (hh:mm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629334#M1088944</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2014-05-27T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: help with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629335#M1088946</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;you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(left(1306052300376, 6), 'YYMMDD'), 'DD/MM/YYYY')&amp;nbsp;&amp;nbsp;&amp;nbsp; ..for date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=time(time#(mid(1306052300376, 7, 4), 'hhmm'), 'hh:mm')&amp;nbsp;&amp;nbsp;&amp;nbsp; ..for time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629335#M1088946</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-27T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: help with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629336#M1088947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MakeDate('20'&amp;amp;Mid(Field,1,2),Mid(Field,3,2),Mid(Field,5,2)) as NewDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MakeTime(Mid(Field, 7,2), Mid(Field, 9,2), Mid(Field,11,2)) as NewTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Field is the name of the field with the timestamp (substitute for your field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629336#M1088947</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-05-27T13:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: help with timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629337#M1088948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In load script load a table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Date(Date#(Left(OldDate,6),'YYMMDD'),'DD/MM/YYYY') as NewDate,&lt;/P&gt;&lt;P&gt;Time(Time#(Mid(OldDate,7,6),'hhmmss'),'hh:mm:ss') as NewTime;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;OldDate&lt;/P&gt;&lt;P&gt;1306052300376&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or in front end try with this in any text object&lt;/P&gt;&lt;P&gt;For Date&lt;/P&gt;&lt;P&gt;Date(Date#(Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1306052300376&lt;/SPAN&gt;,6),'YYMMDD'),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Time&lt;/P&gt;&lt;P&gt;Time(Time#(Mid(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1306052300376&lt;/SPAN&gt;,7,6),'hhmmss'),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-timestamp/m-p/629337#M1088948</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-27T13:52:10Z</dc:date>
    </item>
  </channel>
</rss>

