<?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: QV date vs SQL date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-date-vs-SQL-date/m-p/1859052#M1216041</link>
    <description>&lt;P&gt;Today() returns the date with your defined standard-format respectively without such defining with the OS standard. This format may not be suitable for your database but you could add the needed format-pattern with something like:&lt;/P&gt;
&lt;P&gt;date(today(), 'MyFormatPattern')&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Sun, 14 Nov 2021 13:33:15 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-11-14T13:33:15Z</dc:date>
    <item>
      <title>QV date vs SQL date</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-vs-SQL-date/m-p/1858940#M1216028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would like to compare a SQL datefield with a QV date variable in my SQL where clause but get an error.&lt;/P&gt;
&lt;P&gt;My QV variable is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let vStartDate = Today();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my SQL where clause:&lt;/P&gt;
&lt;P&gt;where [Orderdate] &amp;lt;= '$(vStartDate)'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Strooprover_0-1636792664945.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66591i908055876F72C0E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Strooprover_0-1636792664945.png" alt="Strooprover_0-1636792664945.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anyone knows how to solve this error?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Gr.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 08:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-vs-SQL-date/m-p/1858940#M1216028</guid>
      <dc:creator>Strooprover</dc:creator>
      <dc:date>2021-11-13T08:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: QV date vs SQL date</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-vs-SQL-date/m-p/1859052#M1216041</link>
      <description>&lt;P&gt;Today() returns the date with your defined standard-format respectively without such defining with the OS standard. This format may not be suitable for your database but you could add the needed format-pattern with something like:&lt;/P&gt;
&lt;P&gt;date(today(), 'MyFormatPattern')&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 13:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-vs-SQL-date/m-p/1859052#M1216041</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-11-14T13:33:15Z</dc:date>
    </item>
  </channel>
</rss>

