<?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 Date and Time Cast in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209304#M1209093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to know how to make QV to understand my Movex DB2 Date and Time formats.&lt;BR /&gt;In Movex is the Date format is in one column in YYYYMMDD style and the time format in another column in HHMMSS style.&lt;/P&gt;&lt;P&gt;The thing is that an normal date and time is 20100115 154700 but when the time is 1 sec over midnigt then the time is only displayed as '1' ('YYYYMMDD' as date style byt only 'S' as timestyle instead of 'HHMMSS')&lt;BR /&gt;&lt;BR /&gt;I have been using normal T-sql but I need to know how it is done in QV.&lt;BR /&gt;To solve this in T-SQL&lt;BR /&gt;timestamp(CONCAT(DATEFIELD, right(digits(TIMEFIELD),6)))&lt;BR /&gt;&lt;BR /&gt;QV don't seems to handle the "DIGITS" function.&lt;BR /&gt;&lt;BR /&gt;I have tested with Date / Time / cast functions with no success.&lt;BR /&gt;&lt;BR /&gt;Thanx in advance for any replies&lt;/P&gt;&lt;P&gt;// Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 17:51:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-20T17:51:39Z</dc:date>
    <item>
      <title>Date and Time Cast</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209304#M1209093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to know how to make QV to understand my Movex DB2 Date and Time formats.&lt;BR /&gt;In Movex is the Date format is in one column in YYYYMMDD style and the time format in another column in HHMMSS style.&lt;/P&gt;&lt;P&gt;The thing is that an normal date and time is 20100115 154700 but when the time is 1 sec over midnigt then the time is only displayed as '1' ('YYYYMMDD' as date style byt only 'S' as timestyle instead of 'HHMMSS')&lt;BR /&gt;&lt;BR /&gt;I have been using normal T-sql but I need to know how it is done in QV.&lt;BR /&gt;To solve this in T-SQL&lt;BR /&gt;timestamp(CONCAT(DATEFIELD, right(digits(TIMEFIELD),6)))&lt;BR /&gt;&lt;BR /&gt;QV don't seems to handle the "DIGITS" function.&lt;BR /&gt;&lt;BR /&gt;I have tested with Date / Time / cast functions with no success.&lt;BR /&gt;&lt;BR /&gt;Thanx in advance for any replies&lt;/P&gt;&lt;P&gt;// Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 17:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209304#M1209093</guid>
      <dc:creator />
      <dc:date>2010-01-20T17:51:39Z</dc:date>
    </item>
    <item>
      <title>Date and Time Cast</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209305#M1209094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the function num(), for example:&lt;/P&gt;&lt;P&gt;num(QORGTM, 000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 18:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209305#M1209094</guid>
      <dc:creator />
      <dc:date>2010-01-20T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Date and Time Cast</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209306#M1209095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also look at the date#() and time#() functions. They read a date/time with the format you give it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;date#(DATEFIELD, 'YYYYMMDD') AS ...&lt;BR /&gt;time#(TIMEFIELD,'HHMMSS') AS ...&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Or put them together to get a complete date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 18:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Cast/m-p/209306#M1209095</guid>
      <dc:creator />
      <dc:date>2010-01-20T18:58:08Z</dc:date>
    </item>
  </channel>
</rss>

