<?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 having problem converting from SQL Date format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432647#M34404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recently i have come across with an issue converting SQL date 'yyyy-mm-dd' into qlik 'dd/mm/yyyy'.&lt;/P&gt;&lt;P&gt;first of all, i have to declare that it is not a wide spread issue, i have no problem converting dates and store them into QVD.&lt;/P&gt;&lt;P&gt;it is particularly happening on one of the hundreds of QVDs i ever handled.&lt;/P&gt;&lt;P&gt;the difference i can see from comparing with other working QVDs is that in this particular QVD generation process, i threw in a lot of temp table processing on SQL side. for example, i select data from source SQL table into a tenp table, then manipulate the data and select into another temp table, etc. &lt;SPAN style="font-size: 10pt;"&gt;at the last step, i grab all the data from the final temp table and start formatting the date fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i tried, DATE(field), DATE(DATE#(field, 'yyyy-mm-dd')), DATE(DATE#(field,'yyyy-mm-dd'),'dd/mm/yyyy'), and many more, none of them worked, some even converted the dates wrong.&lt;/P&gt;&lt;P&gt;however, if i leave as is, when i read in data from the QVD, and simply put a date() around the fields, it works.&lt;/P&gt;&lt;P&gt;has anyone come across this issue before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Aug 2017 23:18:35 GMT</pubDate>
    <dc:creator>mydearleo</dc:creator>
    <dc:date>2017-08-20T23:18:35Z</dc:date>
    <item>
      <title>having problem converting from SQL Date format</title>
      <link>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432647#M34404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recently i have come across with an issue converting SQL date 'yyyy-mm-dd' into qlik 'dd/mm/yyyy'.&lt;/P&gt;&lt;P&gt;first of all, i have to declare that it is not a wide spread issue, i have no problem converting dates and store them into QVD.&lt;/P&gt;&lt;P&gt;it is particularly happening on one of the hundreds of QVDs i ever handled.&lt;/P&gt;&lt;P&gt;the difference i can see from comparing with other working QVDs is that in this particular QVD generation process, i threw in a lot of temp table processing on SQL side. for example, i select data from source SQL table into a tenp table, then manipulate the data and select into another temp table, etc. &lt;SPAN style="font-size: 10pt;"&gt;at the last step, i grab all the data from the final temp table and start formatting the date fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i tried, DATE(field), DATE(DATE#(field, 'yyyy-mm-dd')), DATE(DATE#(field,'yyyy-mm-dd'),'dd/mm/yyyy'), and many more, none of them worked, some even converted the dates wrong.&lt;/P&gt;&lt;P&gt;however, if i leave as is, when i read in data from the QVD, and simply put a date() around the fields, it works.&lt;/P&gt;&lt;P&gt;has anyone come across this issue before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2017 23:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432647#M34404</guid>
      <dc:creator>mydearleo</dc:creator>
      <dc:date>2017-08-20T23:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: having problem converting from SQL Date format</title>
      <link>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432648#M34405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to change Format Date in Upper Case Like&lt;/P&gt;&lt;P&gt;YYYY-MM-DD and DD/MM/YYYY&lt;/P&gt;&lt;P&gt;because mm in format date/time is minutes and MM is Months.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2017 23:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432648#M34405</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-20T23:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: having problem converting from SQL Date format</title>
      <link>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432649#M34406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for the confusion, everything is in upper case, i was just too lazy &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2017 23:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-problem-converting-from-SQL-Date-format/m-p/1432649#M34406</guid>
      <dc:creator>mydearleo</dc:creator>
      <dc:date>2017-08-20T23:46:07Z</dc:date>
    </item>
  </channel>
</rss>

