<?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: Problem dealing with dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636678#M47431</link>
    <description>&lt;P&gt;It worked perfectly, thank you very much for the explanation. Greetings&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 12:28:00 GMT</pubDate>
    <dc:creator>davidmoises</dc:creator>
    <dc:date>2019-10-17T12:28:00Z</dc:date>
    <item>
      <title>Problem dealing with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636656#M47429</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I run into a little problem dealing with dates. I leave below a table in which you can see the date field&lt;BR /&gt;I'm trying and some of the tests I've already done.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_2.png" style="width: 782px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21793i230062A92438890B/image-dimensions/782x223?v=v2" width="782" height="223" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The field in question is the first to appear in the table and, as you can see, has a date in 'YYYYMMDD' format.&lt;/P&gt;&lt;P&gt;What I have to achieve is to keep only the year, eliminating the part corresponding to the month and day. In columns 2,3,4,5 you can see some tests I have done.&lt;/P&gt;&lt;P&gt;I know that I could get the same result simply by running a left, as shown below, but I would like to know the reason why I can not do it in the way mentioned above, using date() and above all understand the reason why this date appears so strange numeric.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21792i85F648D55D88E527/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636656#M47429</guid>
      <dc:creator>davidmoises</dc:creator>
      <dc:date>2024-11-16T04:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem dealing with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636661#M47430</link>
      <description>&lt;P&gt;the date format YYYYMMDD (SAP standard format) is one which cannot verify correctly without scripting&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;year(date#(ERDAT,'YYYYMMDD')) as Year,&lt;/P&gt;&lt;P&gt;date(date#(ERDAT,'YYYYMMDD')) as date&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636661#M47430</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-10-17T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem dealing with dates</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636678#M47431</link>
      <description>&lt;P&gt;It worked perfectly, thank you very much for the explanation. Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-dealing-with-dates/m-p/1636678#M47431</guid>
      <dc:creator>davidmoises</dc:creator>
      <dc:date>2019-10-17T12:28:00Z</dc:date>
    </item>
  </channel>
</rss>

