<?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: Finicky Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803241#M661376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the outcomes of your transformation?&lt;/P&gt;&lt;P&gt;Are the numbers or Text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 08:26:15 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2015-03-27T08:26:15Z</dc:date>
    <item>
      <title>Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803239#M661374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am pulling date data in from a SQL query and need it to be in MM/DD/YYYY, but it stays in SQL's default YYYY-MM-DD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:&lt;/P&gt;&lt;P&gt;date(DDATE)&lt;/P&gt;&lt;P&gt;date(DDATE, 'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;date(DDATE, 'MM-DD-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(DDATE, 'YYYY-MM-DD'))&lt;/P&gt;&lt;P&gt;date(date#(DDATE, 'YYYYMMDD'))&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;To add to the craziness is that the line before this I have: date(DDATE)&amp;amp;Market as key, and the result is in MM/DD/YYYY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be awesome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 21:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803239#M661374</guid>
      <dc:creator />
      <dc:date>2015-03-26T21:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803240#M661375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you doing the date transformations in the script, in the SQL SELECT statement or a preceding LOAD statement?&lt;/P&gt;&lt;P&gt;The preferred way is to do it in the LOAD, transformations in the SQL SELECT are processed by the SQL database which may or may not support them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of your script would help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 08:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803240#M661375</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-03-27T08:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803241#M661376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the outcomes of your transformation?&lt;/P&gt;&lt;P&gt;Are the numbers or Text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 08:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803241#M661376</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-27T08:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803242#M661377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 08:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803242#M661377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T08:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803243#M661378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qtable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Market&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merge:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD date(DDATE)&amp;amp;Market as key,&lt;/P&gt;&lt;P&gt;date(DDATE) as DDATE&lt;/P&gt;&lt;P&gt;Resident Qtable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(DDATE) as DDATE has been replaced with all of the before mentioned variations without any success. The results all look like 2015-02-01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(DDATE)&amp;amp;Market as key, produces results like 02/01/2015City&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803243#M661378</guid>
      <dc:creator />
      <dc:date>2015-03-27T15:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803244#M661379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try date(date#(DDATE,'YYYY-MM-DD'),'MM-DD-YYYY')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date#() specifies how the date &lt;SPAN style="text-decoration: underline;"&gt;is&lt;/SPAN&gt; and the date() specifies how you would like it to be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803244#M661379</guid>
      <dc:creator>lawrenceiow</dc:creator>
      <dc:date>2015-03-27T16:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803245#M661380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I did. It did not produce the expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803245#M661380</guid>
      <dc:creator />
      <dc:date>2015-03-27T16:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803246#M661381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what data type is your date field in SQL please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803246#M661381</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-27T16:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803247#M661382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not convert it into the correct format in SQL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;Convert&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;VarChar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Your_Date_Field&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;101&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from your_table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803247#M661382</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-27T16:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803248#M661383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have here:&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;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803248#M661383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finicky Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803249#M661384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date(num(DDATE) as DDATE produces the correct result as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 20:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finicky-Dates/m-p/803249#M661384</guid>
      <dc:creator />
      <dc:date>2015-03-27T20:58:37Z</dc:date>
    </item>
  </channel>
</rss>

