<?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 AW:Problems importing dates from an excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266153#M1204765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At the time of loading the Date variable use the following formula&lt;/P&gt;&lt;P&gt;date ( Date , 'MMM-YY' ) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would load the Date in the format as you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jul 2010 13:58:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-20T13:58:46Z</dc:date>
    <item>
      <title>Problems importing dates from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266150#M1204761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to import dates from an excel file to Qlikview using the wizard. However, the wizard loads or shows the dates in a numeric format and not in its original format('MMM-YY'). So, what can I do to solve this problem?&lt;/P&gt;&lt;P&gt;* Is it possible to use a format conversion function to change the numerical format representation to a normal representation?&lt;/P&gt;&lt;P&gt;* Is it possible to sum the number of days(or numeric format for dates) to the '01/01/1900' and get the real date?&lt;/P&gt;&lt;P&gt;I'm using qlikview version 9. Thanks beforehand for your help.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266150#M1204761</guid>
      <dc:creator />
      <dc:date>2010-07-20T11:41:44Z</dc:date>
    </item>
    <item>
      <title>AW:Problems importing dates from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266151#M1204763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;one question, is the date in Excel a date or a text? Normally QV import a datefield even as a datefield and that means it is a number. In format numbers you can than change back to a dateformat.&lt;/P&gt;&lt;P&gt;Otherwise QV can interpret even textfields into a datefield using the function date#(...).&lt;/P&gt;&lt;P&gt;Ofcourse you can add dates, sometimes you have to use the function num(...) to change back from a dateformat to a numberformat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266151#M1204763</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2010-07-20T11:46:04Z</dc:date>
    </item>
    <item>
      <title>AW:Problems importing dates from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266152#M1204764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martina,&lt;/P&gt;&lt;P&gt;In the excel, the field is a date with the format 'MMM-YY'. For example, in the excel file, the date is 'JAN-10' but when I tried to load to qlikview, it appears 40179. So, I think that this strange number is the number of days between 'JAN-10' and the '01/01/1900' date. So, my question is what shoud I do to interpret or convert these strange numbers into normal dates.&lt;/P&gt;&lt;P&gt;I have loaded dates from another excel files without problems but for this particular excel file, it generates these strange numbers.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266152#M1204764</guid>
      <dc:creator />
      <dc:date>2010-07-20T11:58:47Z</dc:date>
    </item>
    <item>
      <title>AW:Problems importing dates from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266153#M1204765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At the time of loading the Date variable use the following formula&lt;/P&gt;&lt;P&gt;date ( Date , 'MMM-YY' ) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would load the Date in the format as you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 13:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266153#M1204765</guid>
      <dc:creator />
      <dc:date>2010-07-20T13:58:46Z</dc:date>
    </item>
    <item>
      <title>AW:Problems importing dates from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266154#M1204766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I solved the problem. I used the following:&lt;/P&gt;&lt;P&gt;month(date(date#('01-1900', 'MM-YYYY') + num#(Period),'MM-YYYY'))&lt;/P&gt;&lt;P&gt;The month function is just for interface purposes of my application. The period is a string variable.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;David Vidal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 09:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-importing-dates-from-an-excel-file/m-p/266154#M1204766</guid>
      <dc:creator />
      <dc:date>2010-07-21T09:23:20Z</dc:date>
    </item>
  </channel>
</rss>

