<?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: Dates as Numbers? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530961#M1268414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please load your sample script with document.. i.e. QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 12:40:30 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2013-11-15T12:40:30Z</dc:date>
    <item>
      <title>Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530958#M1268409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have extracted some dates from a spreadsheet using the crosstab converter because the dates are columns. The data all comes out OK, but the dates always come through as numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I either extract the data as a date, or convert the numbers back to dates within the document?&lt;/P&gt;&lt;P&gt;I have tried many date functions such as 'date' and 'date#' with &amp;amp; without formatting strings, all fail &amp;amp; return null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example number : 30/09/2006 is coming out as 38990 (all settings are UK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan Cobbald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530958#M1268409</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530959#M1268411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All dates are numbers in QlikView. What has happened here, is that the formatting is lost. Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date,'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;in the script, or format it using the list box properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more on &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3102"&gt;http://community.qlik.com/docs/DOC-3102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530959#M1268411</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-11-15T12:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530960#M1268412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Henric, but that is what I had already tried. All such functions return nulls.&lt;/P&gt;&lt;P&gt;Interestingly, the document says to check if QlikView has interpreted the data as a number, and it hasn't. When I create a list box, the values are left justified, implying that they are strings. It doesn't say how to switch them back to being a number. The num(date) function fails.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ex_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Ex_date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'DD/MM/YYYY')&amp;nbsp; as Date1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is my entry in the load script. Ex_date is the field name for the date values, Date1 is always null whichever date function(s) I use&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="288" width="480"&gt;&lt;PARAM name="DocName" value="C:\Alan\QlikTech\Ex-rates.qvw" /&gt;&lt;PARAM name="ObjectID" value="Document\TB01" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;P&gt;Th&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530960#M1268412</guid>
      <dc:creator />
      <dc:date>2013-11-15T12:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530961#M1268414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please load your sample script with document.. i.e. QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530961#M1268414</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2013-11-15T12:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530962#M1268415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Try :&amp;nbsp;&amp;nbsp;&amp;nbsp; date(num(Ex_date),'DD/MM/YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530962#M1268415</guid>
      <dc:creator />
      <dc:date>2013-11-15T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dates as Numbers?</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530963#M1268416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all who offered advice, date(num#(.....&amp;nbsp; was the answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 16:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-as-Numbers/m-p/530963#M1268416</guid>
      <dc:creator />
      <dc:date>2013-11-19T16:47:26Z</dc:date>
    </item>
  </channel>
</rss>

