<?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: Format date in Francophones</title>
    <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853478#M6429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salut ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oui, vous pouvez à l'aide de diverses fonctions , le seul problème est avec mois . Vous devez convertir explicitement cette chaîne de mois en format lisible (nombre ) soit dans le script ou au frontend .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Le moyen par lequel vous pouvez formater les dates est :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(MakeDate(Right('May 16th,2015',4) ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Jan',1,If(Left('May 16th,2015',3)='Feb',2,If(Left('May 16th,2015',3)='Mar',3,If(Left('May 16th,2015',3)='Apr',4,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='May',5,If(Left('May 16th,2015',3)='Jun',6,If(Left('May 16th,2015',3)='Jul',7,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Aug',8,If(Left('May 16th,2015',3)='Sep',9,If(Left('May 16th,2015',3)='Oct',10,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Nov',11,If(Left('May 16th,2015',3)='Dec',12)))))))))))) ,&lt;/P&gt;&lt;P&gt;mid('May 16th,2015',5,2)),'DD-MM-YYYY'),'MM/DD/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 10:57:35 GMT</pubDate>
    <dc:creator>ankitaag</dc:creator>
    <dc:date>2015-04-17T10:57:35Z</dc:date>
    <item>
      <title>Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853470#M6421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;est il possible de formater la date du type may of 16th, 2015? ma question est surtout sur le th du jour.... je n'ai rien vu dans les blogs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De plus, est il possible de forcer le langage des mois. Je voudrais garder mon PC en Francais mais avoir le language de QlikView (dans les textes des objets texte par exemple et non que l'interface de l'appli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853470#M6421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T08:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853471#M6422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider you have below dates..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st, Jan 2014&lt;/P&gt;&lt;P&gt;12th, Feb 2015&lt;/P&gt;&lt;P&gt;22nd, Mar 2013&lt;/P&gt;&lt;P&gt;23rd, Apr 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can convert them by below formula.. either in script or in UI&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MakeDate(SubField(OldDate,' ',-1),NUM(Month(Date#(Trim(TextBetween(OldDate,' ',' ')),'MMM'))),KeepChar(SubField(OldDate,',',1),'0123456789')))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853471#M6422</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-17T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853472#M6423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="tw-swapa"&gt; &lt;/DIV&gt;&lt;DIV class="_Ejb"&gt;&lt;DIV class="tw-ta-container tw-nfl"&gt;&lt;PRE class="tw-ta tw-data-text vk_txt tw-text-small" data-fulltext="" data-placeholder="Translation" dir="ltr" style="text-align: left;"&gt;Salut Sébastien ,&amp;nbsp; voir le blog ci-joint:&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/12/02/the-date-function"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2014/12/02/the-date-function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="tw-swapa"&gt; &lt;/DIV&gt;&lt;DIV class="_Ejb"&gt;&lt;DIV class="tw-ta-container tw-nfl"&gt;&lt;PRE class="tw-ta tw-text-medium tw-data-text vk_txt" data-fulltext="" data-placeholder="Translation" dir="ltr" style="text-align: left;"&gt;vous pouvez utiliser&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&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: #800000; font-size: 8pt;"&gt;YourDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMM DD,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;FormattedDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ThousandSep&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=',';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DecimalSep&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='.';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;MoneyThousandSep&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=',';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;MoneyDecimalSep&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='.';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;MoneyFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='£#,##0.00;-£#,##0.00';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimeFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='hh:mm:ss';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DD/MM/YYYY';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;TimestampFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DD/MM/YYYY hh:mm:ss[.fff]';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;MonthNames&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DayNames&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="tw-swapa"&gt; &lt;/DIV&gt;&lt;DIV class="_Ejb"&gt;&lt;DIV class="tw-ta-container tw-nfl"&gt;&lt;PRE class="tw-ta tw-data-text vk_txt tw-text-small" data-fulltext="" data-placeholder="Translation" dir="ltr" style="text-align: left;"&gt;les valeurs par défaut sont dans le script , changez-les ici&lt;/PRE&gt;&lt;PRE class="tw-ta tw-data-text vk_txt tw-text-small" data-fulltext="" data-placeholder="Translation" dir="ltr" style="text-align: left;"&gt;Andy&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 08:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853472#M6423</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-17T08:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853473#M6424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;merci mais je n'ai pas le th après le jour...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 09:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853473#M6424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T09:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853474#M6425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Je ne pense pas que vous pouvez le faire !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 09:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853474#M6425</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-17T09:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853475#M6426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Utilisé Applymap() pour le jour&amp;nbsp; et la Dual() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day:&lt;/P&gt;&lt;P&gt;Mapping load * inline [From, To&lt;/P&gt;&lt;P&gt;1,1st&lt;/P&gt;&lt;P&gt;2,2nd&lt;/P&gt;&lt;P&gt;3,3rd&lt;/P&gt;&lt;P&gt;4,4th&lt;/P&gt;&lt;P&gt;5,5th&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Dual(Month(Date#(Date,'DD-MM-YYYY'))&amp;amp;' of '&amp;amp;ApplyMap('Day',Day(Date#(Date,'DD-MM-YYYY')))&amp;amp;', '&amp;amp;Year(Date#(Date,'DD-MM-YYYY')),Date#(Date,'DD-MM-YYYY')) as MyDate;&lt;/P&gt;&lt;P&gt;Load * Inline [Date&lt;/P&gt;&lt;P&gt;'1-4-2015'&lt;/P&gt;&lt;P&gt;'2-4-2015'&lt;/P&gt;&lt;P&gt;'3-4-2015'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 09:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853475#M6426</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-04-17T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853476#M6427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would rather complete the mapping then complicating the load expression. In your expression you still need to add Day(Date(Date,'DD_MM_YYYY'))=1 or.....&lt;/P&gt;&lt;P&gt;Instead of Date=1, which is never true&lt;/P&gt;&lt;P&gt;And then there is e.g. 22nd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 10:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853476#M6427</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-04-17T10:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853477#M6428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Piet.&lt;/P&gt;&lt;P&gt;My mistake&lt;/P&gt;&lt;P&gt;I have just taken off my posts to not confused anyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 10:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853477#M6428</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-17T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Format date</title>
      <link>https://community.qlik.com/t5/Francophones/Format-date/m-p/853478#M6429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salut ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oui, vous pouvez à l'aide de diverses fonctions , le seul problème est avec mois . Vous devez convertir explicitement cette chaîne de mois en format lisible (nombre ) soit dans le script ou au frontend .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Le moyen par lequel vous pouvez formater les dates est :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(MakeDate(Right('May 16th,2015',4) ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Jan',1,If(Left('May 16th,2015',3)='Feb',2,If(Left('May 16th,2015',3)='Mar',3,If(Left('May 16th,2015',3)='Apr',4,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='May',5,If(Left('May 16th,2015',3)='Jun',6,If(Left('May 16th,2015',3)='Jul',7,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Aug',8,If(Left('May 16th,2015',3)='Sep',9,If(Left('May 16th,2015',3)='Oct',10,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Left('May 16th,2015',3)='Nov',11,If(Left('May 16th,2015',3)='Dec',12)))))))))))) ,&lt;/P&gt;&lt;P&gt;mid('May 16th,2015',5,2)),'DD-MM-YYYY'),'MM/DD/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 10:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Francophones/Format-date/m-p/853478#M6429</guid>
      <dc:creator>ankitaag</dc:creator>
      <dc:date>2015-04-17T10:57:35Z</dc:date>
    </item>
  </channel>
</rss>

