<?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: Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110287#M897965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working!! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 12:48:27 GMT</pubDate>
    <dc:creator>kevbrown</dc:creator>
    <dc:date>2016-07-21T12:48:27Z</dc:date>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110281#M897959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an app which is loading in dates as datetime field. I've created a calendar from this datetime field but when making selections on the calendar controls it isn't work. I've attached some sample data for yesterdays date. As you can see there are many rows that contain the date 19/07/2016 hh:mm:ss but when you use the calendar controls on dates with 19/07/2016 00:00:00 shows, why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110281#M897959</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110282#M897960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wasn't able to open the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its probably worth rounding down the date field to remove the hh:mm:ss.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use the floor function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should resolve the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110282#M897960</guid>
      <dc:creator>danansell42</dc:creator>
      <dc:date>2016-07-20T14:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110283#M897961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;Use &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;(YourDatefield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'DD/MM/YYYY')&lt;/SPAN&gt; in your load script and this swill strip out the date part of the datestamp and then this will associate correctly with the master calendar.&lt;/P&gt;&lt;P&gt;Hope this works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110283#M897961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-20T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110284#M897962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Looks like your dates are formatted as timestamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this expression in your frontend or in your load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date(Floor(Timestamp#(YourField, 'DD/MM/YYYY hh:mm:ss')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;When Timestamp# converts your field to a number Floor will drop any &lt;/SPAN&gt;fractional&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; part.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110284#M897962</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-20T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110285#M897963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of the suggestions work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 12:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110285#M897963</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2016-07-21T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110286#M897964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is giving me 00 for months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 12:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110286#M897964</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2016-07-21T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110287#M897965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working!! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 12:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110287#M897965</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2016-07-21T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/1110288#M897966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome Kevin. We all go through nightmares with dates. Glad it's working now and any other issues that's why the community is there for us all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 13:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/1110288#M897966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-21T13:15:49Z</dc:date>
    </item>
  </channel>
</rss>

