<?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 text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352890#M1175320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Henric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2012 07:51:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-17T07:51:13Z</dc:date>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352887#M1175317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box formula and I wish for it to give me yesterdays dates , if yesterday was a weekday , if its not then give me fridays date.&lt;/P&gt;&lt;P&gt;The following is correct where it comes to the Date part of it but it is resulting in 13/00/2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fluted around with it and always the Month is 000,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(if(weekday(today()-1) * 1 &amp;lt;5,today()-1,today()-3),'dd/mm/yyyy')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 12:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352887#M1175317</guid>
      <dc:creator />
      <dc:date>2012-04-16T12:24:27Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352888#M1175318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; date(if(weekday(today()-1) * 1 &amp;lt;5,today()-1,today()-3),dd/mm/yyyy)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Silly me took off the quotation marks and we're hunky dory &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 12:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352888#M1175318</guid>
      <dc:creator />
      <dc:date>2012-04-16T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352889#M1175319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the single quotes &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;should &lt;/STRONG&gt;&lt;/SPAN&gt;be there. But the format code is (sometimes) case sensitive: 'mm' means minutes and 'MM' means month. So the date function should be &lt;EM&gt;date( ... ,'DD/MM/YYYY')&lt;/EM&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 19:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352889#M1175319</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-04-16T19:05:14Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352890#M1175320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Henric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352890#M1175320</guid>
      <dc:creator />
      <dc:date>2012-04-17T07:51:13Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352891#M1175321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How come removing the quotation marks worked then , is there a detriment to just taking then off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not familiar with alot of the nuances of Qlikview any info would be great &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;BR /&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352891#M1175321</guid>
      <dc:creator />
      <dc:date>2012-04-17T07:59:09Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352892#M1175322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't have the quotes, then QlikView will interpret dd/mm/yy as the field "dd" divided by the the field "mm" divided by the field "yy". But since there are no such fields, this expression will evaluate as NULL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that you have a date function with NULL as second parameter - then QlikVIew will use the default date format defined in the SET statement in the beginning of the script. And then the date function works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could simplify everything by omitting the second parameter of the date function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 08:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352892#M1175322</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-04-17T08:11:33Z</dc:date>
    </item>
    <item>
      <title>Date format text box</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352893#M1175323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Henric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand a little better now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 08:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-text-box/m-p/352893#M1175323</guid>
      <dc:creator />
      <dc:date>2012-04-17T08:14:48Z</dc:date>
    </item>
  </channel>
</rss>

