<?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 Formatting Problems......... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808912#M285527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd rather use timestamp#() instead of string functions, e,g,:&lt;/P&gt;&lt;P&gt;date(floor(timestamp#("Your Date Field", 'YYYY-MM-DDThh:mm:ss'))) as DateField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Mar 2015 20:03:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-29T20:03:35Z</dc:date>
    <item>
      <title>Date Formatting Problems.........</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808909#M285524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a quite simple problem that I cannot seem to solve.&lt;/P&gt;&lt;P&gt;I have numerous date fields across many tables in my data model.&lt;/P&gt;&lt;P&gt;The format of the date is as follows: YYYY-MM-DDThh:mm:ss&lt;/P&gt;&lt;P&gt;I was thinking maybe the 'T' in the middle is confusing things?&lt;/P&gt;&lt;P&gt;Qlikview doesn't seem to want to recognise this as a date.&lt;/P&gt;&lt;P&gt;Should I be setting this as the Timestamp Format?&lt;/P&gt;&lt;P&gt;I am wanting to be able to pull out Year, Month, Week, Day and build a Master Callendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or tips on this would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808909#M285524</guid>
      <dc:creator />
      <dc:date>2015-03-27T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date Formatting Problems.........</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808910#M285525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can take only the date by using this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(left('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;YYYY-MM-DDThh:mm:ss&lt;/SPAN&gt;',10),'YYYY-MM-DD') as DateField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the begining of your master calendar will be something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load&amp;nbsp; &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; min(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;DateField&lt;/SPAN&gt;) as minDate,&amp;nbsp; &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; max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;DateField&lt;/SPAN&gt;) as maxDate&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Fato_Final;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Let varMinDate = Num(Date#(Peek('minDate', 0, 'Temp'),'YYYY-MM-DD'));&amp;nbsp; &lt;/P&gt;&lt;P&gt;Let varMaxDate = Num(Date#(Peek('maxDate', 0, 'Temp'),'YYYY-MM-DD'));&amp;nbsp; &lt;/P&gt;&lt;P&gt;DROP Table Temp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 18:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808910#M285525</guid>
      <dc:creator />
      <dc:date>2015-03-27T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Formatting Problems.........</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808911#M285526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers for the tips!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 15:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808911#M285526</guid>
      <dc:creator />
      <dc:date>2015-03-29T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date Formatting Problems.........</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808912#M285527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd rather use timestamp#() instead of string functions, e,g,:&lt;/P&gt;&lt;P&gt;date(floor(timestamp#("Your Date Field", 'YYYY-MM-DDThh:mm:ss'))) as DateField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 20:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Formatting-Problems/m-p/808912#M285527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-29T20:03:35Z</dc:date>
    </item>
  </channel>
</rss>

