<?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 Date conversion to Number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822123#M289815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to convert a date field into Numeric.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num(Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ( 2014/11/12&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , 'YYYYMMDD' )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;output expecting:20141112&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The num function giving me the result but not the way I was expecting.Any help on this would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 17:09:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-12T17:09:32Z</dc:date>
    <item>
      <title>Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822123#M289815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to convert a date field into Numeric.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num(Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ( 2014/11/12&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; , 'YYYYMMDD' )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;output expecting:20141112&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The num function giving me the result but not the way I was expecting.Any help on this would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822123#M289815</guid>
      <dc:creator />
      <dc:date>2014-11-12T17:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822124#M289816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Num(Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ( '2014/11/12'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; , 'YYYY/MM/DD' )&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822124#M289816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822125#M289817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe even this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;date ( (Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ( '2014/11/12'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; , 'YYYY/MM/DD' )&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11px;"&gt;, 'YYYYMMDD' )&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822125#M289817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T17:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822126#M289818</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 this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Date#(Field, 'MM/DD/YYYY')) AS NumericDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822126#M289818</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2014-11-12T17:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822127#M289819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try in place of the NUM with Date#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date (Date#('2014/11/12' , 'YYYY/MM/DD' ) ,'YYYYMMDD') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822127#M289819</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-12T17:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822128#M289820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date ( Floor(Date# ( '2014/11/12' , 'YYYY/MM/DD' )), 'YYYYMMDD' ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822128#M289820</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2014-11-12T17:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822129#M289821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Num(Date# ( '2014/11/12' , 'YYYY/MM/DD' ) ),'YYYYMMDD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822129#M289821</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-12T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822130#M289822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This should work&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Date(Date#('2014/11/12','YYYY/MM/DD') ,'YYYYMMDD')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822130#M289822</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-12T17:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822131#M289823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really want the *numeric* value to be 20141112, then I think it would be done like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num#(Date(Date#('2014/11/12','YYYY/MM/DD') ,'YYYYMMDD'),'0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822131#M289823</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-11-12T17:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822132#M289824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob.It is always a pleasure to see you here.Yes I wanted to have a numeric value because at the end I am going to comapre this date converted numeric vaule with another Numeric field.Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 19:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822132#M289824</guid>
      <dc:creator />
      <dc:date>2014-11-12T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion to Number</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822133#M289825</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;Yes Rob is right &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If want to exactly number then use it &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Date(Num(Date# ( '2014/11/12' , 'YYYY/MM/DD' ) ),'YYYYMMDD')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If want exactly Date then write like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Date (Date#('2014/11/12' , 'YYYY/MM/DD' ) ,'YYYYMMDD')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 20:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-to-Number/m-p/822133#M289825</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-12T20:41:46Z</dc:date>
    </item>
  </channel>
</rss>

