<?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 Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444982#M694553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, 'T' in your timestamp format will be translated to either 'P' or 'A' as part of 'TT' resp. 'PM','AM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can create your own format while keeping the numeric representation using dual() function:&lt;/P&gt;&lt;P&gt;[assuming a TimeStamp TS with a valid numeric representation]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dual( Date(TS,'YYYY-MM-DD') &amp;amp;'T' &amp;amp; time(TS,'hh:mm:ss'), num(TS) ) as MyTimeStamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 06:53:17 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-06-06T06:53:17Z</dc:date>
    <item>
      <title>Timestamp Format</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444981#M694552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning QV addicts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to format a TimeStamp in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YYYY-MM-DDThh:mm:ss (e.g. 1997-07-16T19:20:30)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am seeing is that the 'T' which signifiies the start of the time component turns the timestamp into text which then means I cannot use MIN, MAX functions on the field. Can anyone advise me on the correct format code to achieve this and retain the field as numeric and not text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 06:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444981#M694552</guid>
      <dc:creator />
      <dc:date>2013-06-06T06:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Format</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444982#M694553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, 'T' in your timestamp format will be translated to either 'P' or 'A' as part of 'TT' resp. 'PM','AM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can create your own format while keeping the numeric representation using dual() function:&lt;/P&gt;&lt;P&gt;[assuming a TimeStamp TS with a valid numeric representation]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dual( Date(TS,'YYYY-MM-DD') &amp;amp;'T' &amp;amp; time(TS,'hh:mm:ss'), num(TS) ) as MyTimeStamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 06:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444982#M694553</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-06T06:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp Format</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444983#M694554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - I'm becoming a little rusty!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 07:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-Format/m-p/444983#M694554</guid>
      <dc:creator />
      <dc:date>2013-06-06T07:10:28Z</dc:date>
    </item>
  </channel>
</rss>

