<?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 Help with date and age in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283369#M1177979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 08:44:33 GMT</pubDate>
    <dc:creator>Meg00</dc:creator>
    <dc:date>2012-02-15T08:44:33Z</dc:date>
    <item>
      <title>Help with date and age</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283367#M1177977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im struggling to find a way to convert a number to date and then date to age. I have numbers that look like YYMMDDXXXX where Id like to use the date and from that get the age of the person. So first off, how du I exclude the last 4 numbers and add "19" to the year? And then how do I calculate age today from the date? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 08:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283367#M1177977</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2012-02-15T08:18:47Z</dc:date>
    </item>
    <item>
      <title>Help with date and age</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283368#M1177978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;this should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do what you need&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(LEFT(Date_Field,6),'YYMMDD')) AS New_Date&lt;BR /&gt;Age(Today(),Date#(LEFT(Date_Field,6),'YYMMDD')) AS Age_Field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 08:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283368#M1177978</guid>
      <dc:creator>marcos</dc:creator>
      <dc:date>2012-02-15T08:32:21Z</dc:date>
    </item>
    <item>
      <title>Help with date and age</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283369#M1177979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 08:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283369#M1177979</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2012-02-15T08:44:33Z</dc:date>
    </item>
    <item>
      <title>Help with date and age</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283370#M1177980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MakeDate(left(Field,2),Mid(Field,3,2),Mid(Field,5,2)) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age(Today(),MakeDate(left(Field,2),Mid(Field,3,2),Mid(Field,5,2))) as Age&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; Date(Date#('19'&amp;amp;LEFT(Field,6),'YYYYMMDD')) AS Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age(Today(),Date#('19'&amp;amp;LEFT(Field,6),'YYYYMMDD')) AS Age&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the one which is comfortable for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 08:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283370#M1177980</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-15T08:57:55Z</dc:date>
    </item>
    <item>
      <title>Help with date and age</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283371#M1177981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that solved the problem with the year converting to 2000s instead of 1900s, thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 09:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-date-and-age/m-p/283371#M1177981</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2012-02-15T09:05:08Z</dc:date>
    </item>
  </channel>
</rss>

