<?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 Conversion Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705830#M1051874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All works perfectly with the exception of hour. As I have multiple timstamps, the hours that are returned represent each individual timestamp. So if i have 300 timestamps falling between 1am and 2am, i would like to see only a single entry for 1am. Any thoughts on how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 23:15:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-28T23:15:35Z</dc:date>
    <item>
      <title>Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705825#M1051869</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;Looking for some help with what is most likely a simple issue. I have a timestamp in a csv that I am unable to convert to date and time no matter what I attempt. Format is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIMESTAMP&lt;/P&gt;&lt;P&gt;26/10/2014 01:06:44:340&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to break out the date and time portions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to use the date in a master calendar and eventually round the time into hours for usage analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 02:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705825#M1051869</guid>
      <dc:creator />
      <dc:date>2014-10-28T02:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705826#M1051870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= date(floor(Timestamp#('26/10/2014 01:06:44:340','DD/MM/YYYY hh:mm:ss:fff')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= date(floor(Timestamp#( [DateTimeField],'DD/MM/YYYY hh:mm:ss:fff')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 02:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705826#M1051870</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-28T02:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705827#M1051871</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, date(floor(Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))) as Date,&lt;/P&gt;&lt;P&gt; time((Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))) as Time,&lt;/P&gt;&lt;P&gt; hour((Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))) as Hour;&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TIMESTAMP&lt;/P&gt;&lt;P&gt;26/10/2014 01:06:44:340&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 05:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705827#M1051871</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-28T05:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705828#M1051872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Floor(Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))) as Date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Timestamp(Timestamp#( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TIMESTAMP&lt;/SPAN&gt;,'DD/MM/YYYY hh:mm:ss:fff'), 'hh:mm:ss')&amp;nbsp; as Time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timestamp(Timestamp#( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TIMESTAMP&lt;/SPAN&gt;,'DD/MM/YYYY hh:mm:ss:fff'), 'hh')&amp;nbsp; as Hour;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load * Inline&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TIMESTAMP&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;26/10/2014 01:06:44:340&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 06:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705828#M1051872</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-28T06:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705829#M1051873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(Floor(TIMESTAMP) as Date,&lt;/P&gt;&lt;P&gt;Time(Floor(TIMESTAMP) as Time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 06:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705829#M1051873</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-10-28T06:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705830#M1051874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All works perfectly with the exception of hour. As I have multiple timstamps, the hours that are returned represent each individual timestamp. So if i have 300 timestamps falling between 1am and 2am, i would like to see only a single entry for 1am. Any thoughts on how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 23:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705830#M1051874</guid>
      <dc:creator />
      <dc:date>2014-10-28T23:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705831#M1051875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had you tried with:&lt;/P&gt;&lt;P&gt;Left (TimeStampField,1,10) as Date_,&lt;/P&gt;&lt;P&gt;Left (TimeStampField,12,12) as Time_,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or any other Chain treatment that brings you the derired fields...&lt;/P&gt;&lt;P&gt;I've used when the dates come in text format.---&lt;/P&gt;&lt;P&gt;I hope that it helps you...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 23:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705831#M1051875</guid>
      <dc:creator>gartigas</dc:creator>
      <dc:date>2014-10-28T23:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705832#M1051876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Date(Floor(Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))) as Date,&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'), 'hh:mm:ss')&amp;nbsp; as Time,&lt;/P&gt;&lt;P&gt;Hour(Timestamp#( TIMESTAMP,'DD/MM/YYYY hh:mm:ss:fff'))&amp;nbsp; as Hour;&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TIMESTAMP&lt;/P&gt;&lt;P&gt;26/10/2014 01:06:44:340&lt;/P&gt;&lt;P&gt;26/10/2014 01:25:44:340&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 02:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705832#M1051876</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-29T02:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705833#M1051877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi l,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try my solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 03:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705833#M1051877</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-29T03:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Conversion Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705834#M1051878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works perfectly - thanks Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 06:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Conversion-Issue/m-p/705834#M1051878</guid>
      <dc:creator />
      <dc:date>2014-10-29T06:20:52Z</dc:date>
    </item>
  </channel>
</rss>

