<?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 MakeDate as a number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346654#M494461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to convert your date to a number, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDate = num(makedate(yyyy,mm,dd));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your variable definition. (Or num('$(vDate)') in any expression using your original variable should work, too.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use date() function to format your excel date field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Date(EXCELFIELD) as Date,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 12:19:56 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-04-11T12:19:56Z</dc:date>
    <item>
      <title>MakeDate as a number</title>
      <link>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346653#M494460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, need some help on date / Makedate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i read a excel file with a "date" column (number formated as a date) into a variable, this variable get's the number representing the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i create a variable with makedate(yyyy,mm,dd) i get dd/mm/yyyy ( my date mask is DateFormat='DD/MM/YYYY' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i do to create this variable as a number, like i had got reading from the excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this question of variables and the use of them in code and set expresssions is very confusing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 11:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346653#M494460</guid>
      <dc:creator>bimartingo</dc:creator>
      <dc:date>2012-04-11T11:59:09Z</dc:date>
    </item>
    <item>
      <title>MakeDate as a number</title>
      <link>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346654#M494461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to convert your date to a number, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDate = num(makedate(yyyy,mm,dd));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your variable definition. (Or num('$(vDate)') in any expression using your original variable should work, too.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use date() function to format your excel date field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Date(EXCELFIELD) as Date,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 12:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346654#M494461</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-11T12:19:56Z</dc:date>
    </item>
    <item>
      <title>MakeDate as a number</title>
      <link>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346655#M494462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Num() to convert date to number format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 12:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MakeDate-as-a-number/m-p/346655#M494462</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-04-11T12:28:22Z</dc:date>
    </item>
  </channel>
</rss>

