<?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 Evaluating Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529014#M438604</link>
    <description>&lt;P&gt;Good morning everyone,&lt;/P&gt;&lt;P&gt;Easy question for you.&amp;nbsp; I'm trying to evaluate a date field and it's retuning 1899-12-30.&amp;nbsp; Any ideas what I might be doing wrong?&amp;nbsp; Here is my statement.&amp;nbsp;&amp;nbsp; The source of the date is an excel file.&amp;nbsp; The contents are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Profit Center&amp;nbsp; Customer&amp;nbsp; Date (format)&lt;/P&gt;&lt;P&gt;123456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99999999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/17/2018&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;evaluate&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;Periods&lt;/FONT&gt;), 'YYYY-MM-DD') &lt;FONT color="#0000ff"&gt;as&lt;/FONT&gt; &lt;FONT color="#800000"&gt;[Billing Date]&lt;/FONT&gt;, &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:47:38 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2024-11-16T04:47:38Z</dc:date>
    <item>
      <title>Evaluating Date</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529014#M438604</link>
      <description>&lt;P&gt;Good morning everyone,&lt;/P&gt;&lt;P&gt;Easy question for you.&amp;nbsp; I'm trying to evaluate a date field and it's retuning 1899-12-30.&amp;nbsp; Any ideas what I might be doing wrong?&amp;nbsp; Here is my statement.&amp;nbsp;&amp;nbsp; The source of the date is an excel file.&amp;nbsp; The contents are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Profit Center&amp;nbsp; Customer&amp;nbsp; Date (format)&lt;/P&gt;&lt;P&gt;123456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99999999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/17/2018&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;evaluate&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;Periods&lt;/FONT&gt;), 'YYYY-MM-DD') &lt;FONT color="#0000ff"&gt;as&lt;/FONT&gt; &lt;FONT color="#800000"&gt;[Billing Date]&lt;/FONT&gt;, &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529014#M438604</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T04:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Date</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529017#M438605</link>
      <description>&lt;P&gt;May be try this instead&lt;/P&gt;&lt;PRE&gt;Date(Periods, 'YYYY-MM-DD') as [Billing Date]&lt;/PRE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;PRE&gt;Date(Date#(Periods, 'M/D/YYYY'), 'YYYY-MM-DD') as [Billing Date]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 13:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529017#M438605</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-10T13:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Date</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529043#M438606</link>
      <description>evaluate(Periods) will actually do this division: 1/17/2018 = 0.000029....&lt;BR /&gt;&lt;BR /&gt;Date(0.000029) = 1899-12-30&lt;BR /&gt;&lt;BR /&gt;Try the other way around evaluate(date(Fieldname)) not that I understand why you want to use the evaluate funtion&lt;BR /&gt;&lt;BR /&gt;Nikos</description>
      <pubDate>Thu, 10 Jan 2019 14:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529043#M438606</guid>
      <dc:creator>volakakis</dc:creator>
      <dc:date>2019-01-10T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Date</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529044#M438607</link>
      <description>&lt;P&gt;Thanks Sunny that worked perfect.&amp;nbsp; What's strange I use the same logic with another file and it works fine......&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 14:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Date/m-p/1529044#M438607</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2019-01-10T14:24:18Z</dc:date>
    </item>
  </channel>
</rss>

