<?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 Unusual timestamp format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188925#M384301</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'm working with data that includes a time-stamp format I haven't seen before:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Mon Nov 21 09:33:19 EST 2016". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What formatting indication would I use with the timestamp#() function in order to tell Qlik that the field is time-stamp and not text?&amp;nbsp; I will need to calculate the difference between a "start" and and "end" time-stamp in my app.&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;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 18:57:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-20T18:57:47Z</dc:date>
    <item>
      <title>Unusual timestamp format</title>
      <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188925#M384301</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'm working with data that includes a time-stamp format I haven't seen before:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Mon Nov 21 09:33:19 EST 2016". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What formatting indication would I use with the timestamp#() function in order to tell Qlik that the field is time-stamp and not text?&amp;nbsp; I will need to calculate the difference between a "start" and and "end" time-stamp in my app.&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;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188925#M384301</guid>
      <dc:creator />
      <dc:date>2016-09-20T18:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual timestamp format</title>
      <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188926#M384302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something along&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp(Makedate(Year, Month, DayOfMonth)+Time) as Timestamp;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(TS,' ',1) as WeekdayText,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(Date#(Subfield(TS,' ',2),'MMM')) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(TS,' ',3) as DayOfMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Time#(Subfield(TS,' ',4),'hh:mm:ss') as Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(TS,' ',5) as Timezone,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(TS,' ',6) as Year ;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;&lt;P&gt;"Mon Nov 21 09:33:19 EST 2016"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Timezone related date and time functions in QV to transform to your timezone, if needed,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188926#M384302</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-20T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual timestamp format</title>
      <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188927#M384303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh goodness, yes, I guess I could parse it all out.&amp;nbsp; Was kind of hoping there was some sort of whole-field translation, to avoid possible errors in parsing.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188927#M384303</guid>
      <dc:creator />
      <dc:date>2016-09-20T19:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual timestamp format</title>
      <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188928#M384304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are, but they don't like superfluous stuff like DayNames or too complex stuff like timezone codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this one will produce a regular TimeStamp in a single stroke but it will ignore the TimeZone (and therefor it'll produce a localtime value):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TimeStamp#(&amp;nbsp; mid('&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Mon Nov 21 09:33:19 EST 2016&lt;/SPAN&gt;', 5, 16) &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; right('&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Mon Nov 21 09:33:19 EST 2016&lt;/SPAN&gt;', 4), 'MMM DD hh:mm:ss YYYY') AS TS,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to convert this value into UTC or another region, use a mapping table with TimeZone strings and time corrections. Otherwise, you can simply ignore them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 20:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188928#M384304</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-20T20:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual timestamp format</title>
      <link>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188929#M384305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thanks.&amp;nbsp; I think this might be the best way to go then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 01:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unusual-timestamp-format/m-p/1188929#M384305</guid>
      <dc:creator />
      <dc:date>2016-09-21T01:08:37Z</dc:date>
    </item>
  </channel>
</rss>

