<?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 does not show correctly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866173#M71507</link>
    <description>&lt;P&gt;I disabled 1904 mode unfortunately no changes.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 16:41:50 GMT</pubDate>
    <dc:creator>Daniel1908</dc:creator>
    <dc:date>2021-12-02T16:41:50Z</dc:date>
    <item>
      <title>Date does not show correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866094#M71496</link>
      <description>&lt;P&gt;Hello Together,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the date in my excel file shows 31.12.9999.&amp;nbsp;&lt;BR /&gt;If I load the data I shows&amp;nbsp;2957003 in the table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already added the below to the script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date( "End Date",'DD.MM.YYYY') as "End_Date_2",&lt;/P&gt;
&lt;P&gt;No I am getting&amp;nbsp;30.12.9995 instead of 31.12.9999&lt;/P&gt;
&lt;P&gt;Thanks for you help.&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 14:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866094#M71496</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-12-02T14:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date does not show correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866106#M71499</link>
      <description>&lt;P&gt;I think your issue is actually with Excel not calculating the date's numeric value correctly. Oracle SQL also returns 9995 in this scenario:&lt;/P&gt;
&lt;P&gt;select to_char(&lt;BR /&gt;to_date('1899-12-30', 'YYYY-MM-DD') + 2957003,&lt;BR /&gt;'DD/MON/YYYY') from dual&lt;/P&gt;
&lt;P&gt;Return: 30/DEC/9995&lt;/P&gt;
&lt;P&gt;So if there's an issue here that's not in Excel, it seems to be consistent across multiple platforms and not just Qlik. I'm no expert on this, since dates for the year 9999 aren't something I've had to worry about...&lt;/P&gt;
&lt;P&gt;As a workaround, you could try looking at this as a string instead and creating your own date by breaking down the components:&lt;/P&gt;
&lt;P&gt;MakeDate(Right("End Date",4),Mid("End Date",4,2),Left("End Date",2))&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866106#M71499</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-02T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date does not show correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866116#M71500</link>
      <description>&lt;P&gt;The reason for this behaviour is that you are not using the default date-system in Excel else the 1904 mode. Quite often that's done to calculate with negative times or similar matters but it has serious side-effects especially as it isn't a document-setting in Excel else it's a user-property.&lt;/P&gt;
&lt;P&gt;Therefore I suggest to consider to change your Excel settings. Be aware that this has an impact on all your files -&amp;nbsp; maybe also if your work with colleagues. So now might be not the right time and it may be easier to remain by your settings. But in the long-term it will probably cause more troubles as it solved.&lt;/P&gt;
&lt;P&gt;If you want to remain by it you need to add an offset value of 1462 to your dates. More background to the reasons could you find here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/office/troubleshoot/excel/1900-and-1904-date-system" target="_blank"&gt;Differences between the 1900 and the 1904 date system - Office | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866116#M71500</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-12-02T15:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date does not show correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866173#M71507</link>
      <description>&lt;P&gt;I disabled 1904 mode unfortunately no changes.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 16:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866173#M71507</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-12-02T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date does not show correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866330#M71517</link>
      <description>&lt;P&gt;Because of the fact that it was not recommended to apply this date mode I never used it personally. Therefore I'm not sure how the data are finally stored. I think if you google for enabling/disabling the feature and it's impact you will learn what's happened and what you may need to do to reverse the data respectively to get the wanted results. If there are no inbuilt methods I wouldn't be surprised if there any macros available which may do the job.&lt;/P&gt;
&lt;P&gt;Personally I could imagine that the real stored date-values - which are always pure numeric values - are the "normal" value - 1462 and the displaying on the screen adds each time the 1462 offset to it and showed it within your chosen formatting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 06:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-does-not-show-correctly/m-p/1866330#M71517</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-12-03T06:25:54Z</dc:date>
    </item>
  </channel>
</rss>

