<?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 in QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878636#M995020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3102"&gt;QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2015 10:48:50 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-07-03T10:48:50Z</dc:date>
    <item>
      <title>Dates in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878635#M995018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;BusinessDate,&lt;/P&gt;&lt;P&gt;AccountCode,&lt;/P&gt;&lt;P&gt;TT2,&lt;/P&gt;&lt;P&gt;Nominal,&lt;/P&gt;&lt;P&gt;StartDate,&lt;/P&gt;&lt;P&gt;EndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(qvdPath)$(ReportQVD).qvd (qvd)&lt;/P&gt;&lt;P&gt;WHERE wildmatch(AccountCode,'test0?','novat?','novt??') = 0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and&amp;nbsp;&amp;nbsp; num(date#(BusinessDate,'YYYYMMDD')) &amp;gt;= num(Date#($(vCutOffDate),'YYYYMMDD'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I know that a field is really a date field so I don't need to convert to a number. What's the best way to compare 2 date fields if having suspicions that one is&amp;nbsp; a string with a date stored inside. Any comments how to compare 2 fields which could be strings so the date comparison could be totally wrong? I am also worried that expressions like the above can cause performance issues so need the most efficient way if any?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 10:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878635#M995018</guid>
      <dc:creator />
      <dc:date>2015-07-03T10:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878636#M995020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3102"&gt;QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 10:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878636#M995020</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-03T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878637#M995022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the date has been interpreted correctly, it will be right-aligned in a list box. Then it will be a number, and the Num() function is not necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2830"&gt;Data Types in QlikView&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, 03 Jul 2015 10:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878637#M995022</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-03T10:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878638#M995024</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;See Alt() in help menu might be helpful to you.&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, 03 Jul 2015 10:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878638#M995024</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-03T10:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878639#M995026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a lot of questions in your post, which makes it difficult to provide a clear answer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The more your field values prove to be inconsistent, the higher the price you'll pay for handling all different cases in QV script. If you can be sure that all values are formatted exactly the same, you can safely rely on date#() on condition that you specify a correct format string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every call to date# that is offered a correctly formatted date, the numerical value will be part of the output.&lt;/P&gt;&lt;P&gt;For &lt;SPAN style="font-size: 13.3333330154419px;"&gt;every call to date# that is offered an incorrectly formatted date, the numerical value will be missing in the output. In theory, IsNum(date#(...)) should now return false().&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 12:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-QV/m-p/878639#M995026</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-07-03T12:13:26Z</dc:date>
    </item>
  </channel>
</rss>

