<?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(floor) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821267#M289497</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;Use&lt;/P&gt;&lt;P&gt;Subfield(SettlementTime,' ',1) as date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;use date(floor(SettlementTime),'DD/MM/YYYY') as New_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 12:06:31 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2015-02-17T12:06:31Z</dc:date>
    <item>
      <title>Date(floor)</title>
      <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821266#M289496</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;trying to fetch the date out of my timestamp field (&lt;SPAN style="color: #800000;"&gt;SettlementTime&lt;/SPAN&gt;) but it does not work for some reason, getting null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DD/MM/YYYY hh:mm:ss')), 'DD/MM/YYYY')&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timestamp (&lt;SPAN style="color: #800000;"&gt;SettlementTime&lt;/SPAN&gt;) format from my source data looks like below:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;09/02/2015&amp;nbsp; 10:30:44&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821266#M289496</guid>
      <dc:creator />
      <dc:date>2015-02-17T12:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date(floor)</title>
      <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821267#M289497</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;Use&lt;/P&gt;&lt;P&gt;Subfield(SettlementTime,' ',1) as date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;use date(floor(SettlementTime),'DD/MM/YYYY') as New_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821267#M289497</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-17T12:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date(floor)</title>
      <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821268#M289498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need 2 space between Y and h (because there are 2 spaces here &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;09/02/2015&amp;nbsp; 10:30:44)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;date(floor(Timestamp#('09/02/2015&amp;nbsp; 10:30:44', 'DD/MM/YYYY&amp;nbsp; hh:mm:ss')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821268#M289498</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-17T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date(floor)</title>
      <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821269#M289499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your underlying data is already in a proper date number format, you shouldn't need to explicitly timestamp like that, should just be able to floor and date the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 'DD/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821269#M289499</guid>
      <dc:creator />
      <dc:date>2015-02-17T12:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date(floor)</title>
      <link>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821270#M289500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please give space before 'as' keyword:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DD/MM/YYYY hh:mm:ss')), 'DD/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementDate;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'DD/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SettlementDate ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-floor/m-p/821270#M289500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T12:12:01Z</dc:date>
    </item>
  </channel>
</rss>

