<?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: Help: how to separate date and time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437721#M1155280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You Can create fileds like below&lt;/P&gt;&lt;P&gt;Date(Floor(DateTimeField)) As DateField&lt;/P&gt;&lt;P&gt;Time(Frac(DateTimeField)) AS TimeField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 21:36:02 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-03-13T21:36:02Z</dc:date>
    <item>
      <title>Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437716#M1155275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlivers,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if I want to serarate date and time from a colume contained both date and time together. how do i do it??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thank you~~&lt;/P&gt;&lt;P&gt;This is a sample of the date colume.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34880" alt="qlikview.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/34880_qlikview.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;none of the codes were actually not working, &lt;/P&gt;&lt;P&gt;but i actually figured out how to do it, Anyways guys, for future reference, here is what i have::&lt;/P&gt;&lt;P&gt;Date(date#(date(Floor(departure), 'DD/MM/YYYY'), 'MM/DD/YYYY'), 'MM/DD/YYYY') as OutputDate,&lt;/P&gt;&lt;P&gt;Timestamp(arrive-Floor(departure), 'hh:mm') as OutputTime;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 15:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437716#M1155275</guid>
      <dc:creator />
      <dc:date>2013-03-13T15:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437717#M1155276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Give that there's no visual of teh Date &amp;amp; Time format from your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Try Date(Subfield(xxxx,1) as date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time (Subfield(xxxx) as Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It that didn't work then upload sample data.&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;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 16:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437717#M1155276</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-03-13T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437718#M1155277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriel, here is what my date look like.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34865" class="jive-image" alt="qlikview.PNG" src="https://community.qlik.com/legacyfs/online/34865_qlikview.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 16:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437718#M1155277</guid>
      <dc:creator />
      <dc:date>2013-03-13T16:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437719#M1155278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your field is named MyField:&lt;/P&gt;&lt;P&gt;date(floor(MyField) as MyDate,&lt;/P&gt;&lt;P&gt;timestamp(MyField-floor(MyField) as MyTime,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 19:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437719#M1155278</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2013-03-13T19:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437720#M1155279</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 this code using LIST BOX&lt;/P&gt;&lt;P&gt;Right click anywhere in the sheet then New Sheet Object -&amp;gt; List Box -&amp;gt; Field pane select Expression -&amp;gt; then enter &lt;/P&gt;&lt;P&gt;=date(SubField(DateTime,' ',1)) click ok.&lt;/P&gt;&lt;P&gt;This will give you just the Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right click anywhere in the sheet then New Sheet Object -&amp;gt; List Box -&amp;gt; Field pane select Expression -&amp;gt; then enter&lt;/P&gt;&lt;P&gt;=time(SubField(DateTime,' ',2)) click ok.&lt;/P&gt;&lt;P&gt;This gives you the time part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for me so it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 20:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437720#M1155279</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-03-13T20:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help: how to separate date and time</title>
      <link>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437721#M1155280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You Can create fileds like below&lt;/P&gt;&lt;P&gt;Date(Floor(DateTimeField)) As DateField&lt;/P&gt;&lt;P&gt;Time(Frac(DateTimeField)) AS TimeField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-how-to-separate-date-and-time/m-p/437721#M1155280</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-03-13T21:36:02Z</dc:date>
    </item>
  </channel>
</rss>

