<?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 Number to date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255911#M1190270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manisha!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query you presented is a SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you noted you cannot use QlikView functions in a SQL query, you must use the syntax of the SQL dialect your using.&lt;/P&gt;&lt;P&gt;I suggest you search the web for Date functions for the database you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2011 07:08:30 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2011-09-13T07:08:30Z</dc:date>
    <item>
      <title>Number to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255910#M1190269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;'Future' as Aging_Descr,&lt;/P&gt;&lt;P&gt;'STD' as Aging_Id&lt;/P&gt;&lt;P&gt;from ps_item a, ps_item_activity b,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select (Date $(vCalendar) - a.accounting_dt) days&lt;/P&gt;&lt;P&gt;from ps_item a&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;where a.item =b.item&lt;/P&gt;&lt;P&gt;and days &amp;lt; 0&lt;/P&gt;&lt;P&gt;UNION&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;'Current' as Aging_Descr,&lt;/P&gt;&lt;P&gt;'STD' as Aging_Id&lt;/P&gt;&lt;P&gt;from ps_item a, ps_item_activity b,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select (Date $(vCalendar) - a.accounting_dt) days&lt;/P&gt;&lt;P&gt;from ps_item a&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;where a.item = b.item&lt;/P&gt;&lt;P&gt;and (days &amp;lt;= 30 and days&amp;gt;=0)&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want that user should enter a date(vCalendar) and based on that date qlikview will show the o/p.&lt;/P&gt;&lt;P&gt;But as 'Date' is a qlikview function so it's not converting this number into date type. &lt;/P&gt;&lt;P&gt;So how can i use this variable and&amp;nbsp; convert it into date type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 06:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255910#M1190269</guid>
      <dc:creator>manisha_uit</dc:creator>
      <dc:date>2011-09-13T06:28:05Z</dc:date>
    </item>
    <item>
      <title>Number to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255911#M1190270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manisha!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query you presented is a SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you noted you cannot use QlikView functions in a SQL query, you must use the syntax of the SQL dialect your using.&lt;/P&gt;&lt;P&gt;I suggest you search the web for Date functions for the database you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 07:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255911#M1190270</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-13T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Number to date format</title>
      <link>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255912#M1190271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi manisha..&lt;/P&gt;&lt;P&gt;that query is in SQL.you can use&amp;nbsp; function of SQL in qlikview but not qlikview function in SQL.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 07:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-to-date-format/m-p/255912#M1190271</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2011-09-13T07:14:46Z</dc:date>
    </item>
  </channel>
</rss>

