<?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: Problem separating Date and Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777719#M663491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kristan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your DateTime field seems to be a Timestamp?&lt;/P&gt;&lt;P&gt;That is saved internally as a numeric value (decimal value). So you can use the Floor() and Frac() functions to split it - Floor() will get the day and Frac() will get the time out of that.&lt;/P&gt;&lt;P&gt;Then you can use the DATE() or TIME() functions to format it and, for instance, have only the hours (out of the time) displayed.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 12:28:13 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-02-10T12:28:13Z</dc:date>
    <item>
      <title>Problem separating Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777718#M663490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found several other posts regarding the separation of date and time from a single field.&amp;nbsp; I implemented a method that appears to work, but only captures a few dates from all the available data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached file.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 12:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777718#M663490</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-02-10T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem separating Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777719#M663491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kristan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your DateTime field seems to be a Timestamp?&lt;/P&gt;&lt;P&gt;That is saved internally as a numeric value (decimal value). So you can use the Floor() and Frac() functions to split it - Floor() will get the day and Frac() will get the time out of that.&lt;/P&gt;&lt;P&gt;Then you can use the DATE() or TIME() functions to format it and, for instance, have only the hours (out of the time) displayed.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 12:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777719#M663491</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-10T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem separating Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777720#M663492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kristan, in subfield funtion you have to use [Date Time] instead of DateTime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 12:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777720#M663492</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-02-10T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem separating Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777721#M663493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(TimeStamp#(DateTime, 'MM/DD/YYYY hh:mm:ss')) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(TimeStamp#(DateTime, 'MM/DD/YYYY hh:mm:ss')) as Hour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minute(TimeStamp#(DateTime, 'MM/DD/YYYY hh:mm:ss')) as Minute,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second(TimeStamp#(DateTime, 'MM/DD/YYYY hh:mm:ss')) as Second&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 12:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777721#M663493</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-02-10T12:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem separating Date and Time</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777722#M663494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ruben, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Perfect.&amp;nbsp; That small change, and it worked like a charm.&amp;nbsp; Exactly what I needed.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 12:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-separating-Date-and-Time/m-p/777722#M663494</guid>
      <dc:creator>gshockxcc</dc:creator>
      <dc:date>2015-02-10T12:35:26Z</dc:date>
    </item>
  </channel>
</rss>

