<?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 Time Stamp Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323650#M119267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great but the time that showing there is wrong like it shows the time +5 hours, is there anyway to fix it?&lt;/P&gt;&lt;P&gt;I am loading from Cisco log files.&lt;/P&gt;&lt;P&gt;the second thing is the were statement is not working but it will be great if I can get rid of them.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 21:52:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-27T21:52:29Z</dc:date>
    <item>
      <title>Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323647#M119264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Anybody knows how to read the timeStamp.&lt;/P&gt;&lt;P&gt;I have the attached document. It loads phone log files from a directory.&lt;/P&gt;&lt;P&gt;I am trying to have the date, time shown on a table next to the Original Party and Destination party.&lt;/P&gt;&lt;P&gt;I tried the Time Stamp option on a list box just for testing..It doesn't seem to be correct..&lt;/P&gt;&lt;P&gt;Any Advice?&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;P&gt;Badr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 20:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323647#M119264</guid>
      <dc:creator />
      <dc:date>2012-02-27T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323648#M119265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, the date should be today's date and the time is between 12 and 2.00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 21:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323648#M119265</guid>
      <dc:creator />
      <dc:date>2012-02-27T21:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323649#M119266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, that's pretty hard since you don't give any information about the source system you get your data from. The source data will define how the integer number called TimeStamp needs to be interpreted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just make a guess that you are using a format that is compatible to a Cisco cdr (number of seconds since Jan 1st 1970).&lt;/P&gt;&lt;P&gt;Try this as additional expression in your TimeStamp listbox (expression tab in list box properties):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;&lt;STRONG&gt;=timestamp(TimeStamp/86400+makedate(1970,1,1))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;This gives slightly different timestamps than you posted in your second post, but close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;But maybe my assumptions are wrong, so please double check the source format definition.&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;If the transformation is ok, you could the transformation in the script like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;LOAD &lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;...&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;STRONG style="color: #000000; font-size: 12px; text-align: -webkit-auto;"&gt;timestamp(TimeStamp/86400+makedate(1970,1,1)) as TimeStamp&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;STRONG style="color: #000000; font-size: 12px; text-align: -webkit-auto;"&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;from ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;Another idea is to get rid of the format strings that appear on some lines (like 'INTEGER'), maybe by using a where clause :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;LOAD&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;...&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;from Table.xls where isnumber(TimeStamp);&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;Hope this helps,&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;Stefan&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 21:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323649#M119266</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-27T21:35:43Z</dc:date>
    </item>
    <item>
      <title>Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323650#M119267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great but the time that showing there is wrong like it shows the time +5 hours, is there anyway to fix it?&lt;/P&gt;&lt;P&gt;I am loading from Cisco log files.&lt;/P&gt;&lt;P&gt;the second thing is the were statement is not working but it will be great if I can get rid of them.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 21:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323650#M119267</guid>
      <dc:creator />
      <dc:date>2012-02-27T21:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323651#M119268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is -5 hours maybe your TimeZone offset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could probably correct the timestamp like this&lt;/P&gt;&lt;P&gt;=timestamp(TimeStamp/86400+makedate(1970,1,1)+interval#(-5,'h'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please check if the sign of the first argument to interval# function is the way you need it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your other question, I misspelled the function name, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; text-align: -webkit-auto;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; text-align: -webkit-auto;"&gt;...&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; text-align: -webkit-auto;"&gt;from Table.xls where &lt;STRONG&gt;isnum&lt;/STRONG&gt;(TimeStamp);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 22:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323651#M119268</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-27T22:01:34Z</dc:date>
    </item>
    <item>
      <title>Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323652#M119269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;You helped me so many times..&lt;/P&gt;&lt;P&gt;How did you get all this experience..Great Job! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 22:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323652#M119269</guid>
      <dc:creator />
      <dc:date>2012-02-27T22:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time Stamp Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323653#M119270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thought. If it's really a time zone issue that we need to correct for the -5 hours, it's probably better to use converttolocaltime function, that will also consider DST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=converttolocaltime(timestamp(TimeStamp/86400+makedate(1970,1,1)),'Indiana (Ost)')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of 'Indiana (Ost)', use your place string as defined in your OS for your time zone, or you could also use 'UTC-05:00'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 18:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Stamp-Analysis/m-p/323653#M119270</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-28T18:49:01Z</dc:date>
    </item>
  </channel>
</rss>

