<?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: date &amp; time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422393#M157398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;To remove the time &lt;EM&gt;and preserve as a date field&lt;/EM&gt;, assuming your field is called InputDate, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Date(Floor(InputDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;To get just the time, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Time(InputDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Feb 2013 14:09:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-10T14:09:52Z</dc:date>
    <item>
      <title>date &amp; time</title>
      <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422390#M157395</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 have feild with date &amp;amp; time, like this " DD-MM-YYYY&amp;nbsp; HH:MM:SS"&lt;/P&gt;&lt;P&gt;how can i separate to 2 feilds ,date alone and time alone ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks'&lt;/P&gt;&lt;P&gt;yarin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 12:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-time/m-p/422390#M157395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-10T12:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: date &amp; time</title>
      <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422391#M157396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DateField=SubField(DateAndTimeField,' ')&lt;/P&gt;&lt;P&gt;TimeField=SubField(DateAndTimeField,' ',2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can format the fields as needed by the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 13:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-time/m-p/422391#M157396</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-02-10T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: date &amp; time</title>
      <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422392#M157397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you please explain more,tha name of my feild is "start".&lt;/P&gt;&lt;P&gt;i don't know this function and the help (f1) doesn't help.&lt;/P&gt;&lt;P&gt;thanks'&lt;/P&gt;&lt;P&gt;yarin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 13:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-time/m-p/422392#M157397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-10T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: date &amp; time</title>
      <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422393#M157398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;To remove the time &lt;EM&gt;and preserve as a date field&lt;/EM&gt;, assuming your field is called InputDate, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Date(Floor(InputDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;To get just the time, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Time(InputDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 14:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-time/m-p/422393#M157398</guid>
      <dc:creator />
      <dc:date>2013-02-10T14:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: date &amp; time</title>
      <link>https://community.qlik.com/t5/QlikView/date-time/m-p/422394#M157399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the name of your field is 'start', and if you want date alone in a field named 'Date' and time alone in a field names 'Time', use the following expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Date=SubField(start,' ')&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Time=SubField(state,' ',2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;The function used is SubField() and the help states the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;subfield(s, 'delimiter' [ , index ] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In its three-parameter version, this script function returns a given substring from a larger string s with delimiter&lt;/P&gt;&lt;P&gt;'delimiter'. index is an optional integer denoting which of the substrings should be returned. ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 14:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-time/m-p/422394#M157399</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-02-10T14:18:39Z</dc:date>
    </item>
  </channel>
</rss>

