<?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 format question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218258#M71423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add distinct after the load statements or... round the date with the .001 in the script but probably just use the distinct statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2011 15:59:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-15T15:59:32Z</dc:date>
    <item>
      <title>Date format question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218257#M71422</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 loaded 2 tables in via SQL and the date 14/02/11 appear as 40588 &amp;amp; 40588.001.&lt;/P&gt;&lt;P&gt;I have tried to force them to be the same using date(value,'DD/Mm'YY'), I now have 14/02/11 appearing in a listbox twice.&lt;/P&gt;&lt;P&gt;Any help or explanation would be nice.&lt;/P&gt;&lt;P&gt;Thinkyou,&lt;/P&gt;&lt;P&gt;Gav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 15:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218257#M71422</guid>
      <dc:creator />
      <dc:date>2011-04-15T15:54:55Z</dc:date>
    </item>
    <item>
      <title>Date format question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218258#M71423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would add distinct after the load statements or... round the date with the .001 in the script but probably just use the distinct statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 15:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218258#M71423</guid>
      <dc:creator />
      <dc:date>2011-04-15T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Date format question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218259#M71424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;trent.jones&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you the round worked. Do you know why the round worked and the force of the date did not, or why one of the dates has a .001 after it ?&lt;/P&gt;&lt;P&gt;Thank you once again this has been driving me mad ..... &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 16:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218259#M71424</guid>
      <dc:creator />
      <dc:date>2011-04-15T16:08:39Z</dc:date>
    </item>
    <item>
      <title>Date format question</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218260#M71425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If the date contains decimals, which is possible, is because for some reason, the date is not just "a date" rather than a timestamp. Those decimals are the hours or minutes of the timestamp. Using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Floor(Date(value,'DD/MM/YY'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Will leave the date as an integer, regardless the time of the day.&lt;/P&gt;&lt;P&gt;It appears twice because Date() is a representation function, but the underlying numeric value is still different ('14/02/11 00:00:00' and '14/02/11 00:01:26').&lt;/P&gt;&lt;P&gt;Using the Floor() will avoid that, as all values in the same date will not have hours or minutes.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 16:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-question/m-p/218260#M71425</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-15T16:20:08Z</dc:date>
    </item>
  </channel>
</rss>

