<?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 Importing Dates from Excel into QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228730#M80734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble getting the date from excel into qlikview. There a few threads already, but im having trouble following them. So i have a date field in excel that is formatted the following way:&lt;/P&gt;&lt;P&gt;=DATE(2011, 3, 1)&lt;/P&gt;&lt;P&gt;that equals 3/1/2011, which is different from what i am getting in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i imported my excel file was by opening the "edit script" screen. then at the bottom i clicked the button called "table files" and added my excel file to the script. that is how i got this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD WID,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Description,&lt;/P&gt;&lt;P&gt;Who,&lt;/P&gt;&lt;P&gt;Number,&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[WorkLog.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Zach$);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i think i have to do something to the date at this point. In the report i did change the number type of the Date field to be a date, but that is not the right date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2011 19:51:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-25T19:51:53Z</dc:date>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228730#M80734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble getting the date from excel into qlikview. There a few threads already, but im having trouble following them. So i have a date field in excel that is formatted the following way:&lt;/P&gt;&lt;P&gt;=DATE(2011, 3, 1)&lt;/P&gt;&lt;P&gt;that equals 3/1/2011, which is different from what i am getting in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i imported my excel file was by opening the "edit script" screen. then at the bottom i clicked the button called "table files" and added my excel file to the script. that is how i got this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD WID,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Description,&lt;/P&gt;&lt;P&gt;Who,&lt;/P&gt;&lt;P&gt;Number,&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[WorkLog.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Zach$);&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i think i have to do something to the date at this point. In the report i did change the number type of the Date field to be a date, but that is not the right date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 19:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228730#M80734</guid>
      <dc:creator />
      <dc:date>2011-04-25T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228731#M80735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachmurray,&lt;/P&gt;&lt;P&gt;QV is generally very good at interpreting the dates, because it stores the dates in to integers/decimal points. I mean in your case it should store the date as 40,603 assuming that there is no time and if there is time then it will store 40,603.xxxxxx something like this...&lt;/P&gt;&lt;P&gt;And if QV don't understand the date then it converts it to string. So I would recommend you to convert your Date Field in to Date Format. You can use Date function in the load script.. something like this...&lt;/P&gt;&lt;P&gt;Date(Date, 'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 20:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228731#M80735</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-25T20:06:48Z</dc:date>
    </item>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228732#M80736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD WID,&lt;/P&gt;&lt;P&gt;Date(Date,'DD/MM/YYYY),&lt;/P&gt;&lt;P&gt;Description,&lt;/P&gt;&lt;P&gt;Who,&lt;/P&gt;&lt;P&gt;Number,&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\WorkLog.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Christian$)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This is giving me an error. can you see anything wrong with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 21:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228732#M80736</guid>
      <dc:creator />
      <dc:date>2011-04-25T21:13:00Z</dc:date>
    </item>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228733#M80737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to interpret a string as a date, the syntax is : Date#(FIELD,'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;In your case, Date#(Date,'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of result did you get with your original script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 21:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228733#M80737</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-25T21:18:52Z</dc:date>
    </item>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228734#M80738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually got it to work by using Date(Date,'DD/MM/YYYY') as Date without the "#".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the direction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 23:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228734#M80738</guid>
      <dc:creator />
      <dc:date>2011-04-25T23:37:48Z</dc:date>
    </item>
    <item>
      <title>Importing Dates from Excel into QV</title>
      <link>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228735#M80739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachmurray,&lt;/P&gt;&lt;P&gt;I am glad to know that you got it working. Please can you mark the post answered? This will be useful reference for other community users...&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 09:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Importing-Dates-from-Excel-into-QV/m-p/228735#M80739</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-26T09:24:56Z</dc:date>
    </item>
  </channel>
</rss>

