<?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: Date field and date#? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723523#M1078650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attachment&lt;/P&gt;&lt;P&gt;here&lt;/P&gt;&lt;P&gt;your DATE field treated as string&lt;/P&gt;&lt;P&gt;1)Date# converts it to number .&lt;/P&gt;&lt;P&gt;2)Date function doesn't treat it so, gives you null but if you fetch this DATE field data from Excel or any data source then it treated as number,&lt;/P&gt;&lt;P&gt;//ly if you directly made for this string DATE field to month and year&amp;nbsp; QV treated it as null because QV doesn't know in which format it is but when using Date# fucntion then it gives you Month and year both.&lt;/P&gt;&lt;P&gt;one more thing here you use two format for date in one field so, in date# interpret it as number for all only Mar field treated as string because Qlikview didn't understand in which format it is so, gives you same but date function hide it as treated null.&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 10:30:36 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2014-07-07T10:30:36Z</dc:date>
    <item>
      <title>Date field and date#?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723521#M1078648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;1/1/2011&lt;/P&gt;&lt;P&gt;2/1/2011&lt;/P&gt;&lt;P&gt;3/1/2011&lt;/P&gt;&lt;P&gt;1-Mar-11&lt;/P&gt;&lt;P&gt;5/1/2011&lt;/P&gt;&lt;P&gt;6/1/2011&lt;/P&gt;&lt;P&gt;7/1/2011&lt;/P&gt;&lt;P&gt;8/1/2011&lt;/P&gt;&lt;P&gt;9/1/2011&lt;/P&gt;&lt;P&gt;10/1/2011&lt;/P&gt;&lt;P&gt;11/1/2011&lt;/P&gt;&lt;P&gt;12/1/2011&lt;/P&gt;&lt;P&gt;1/1/2012&lt;/P&gt;&lt;P&gt;2/1/2012&lt;/P&gt;&lt;P&gt;3/1/2012&lt;/P&gt;&lt;P&gt;4/1/2012&lt;/P&gt;&lt;P&gt;5/1/2012&lt;/P&gt;&lt;P&gt;6/1/2012&lt;/P&gt;&lt;P&gt;7/1/2012&lt;/P&gt;&lt;P&gt;8/1/2012&lt;/P&gt;&lt;P&gt;9/1/2012&lt;/P&gt;&lt;P&gt;10/1/2012&lt;/P&gt;&lt;P&gt;11/1/2012&lt;/P&gt;&lt;P&gt;12/1/2012&lt;/P&gt;&lt;P&gt;1/1/2013&lt;/P&gt;&lt;P&gt;2/1/2013&lt;/P&gt;&lt;P&gt;3/1/2013&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is&amp;nbsp; date(DATE) AS date&amp;nbsp; -&amp;nbsp;&amp;nbsp; what is output ? and work of date function here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;same&amp;nbsp; using&amp;nbsp;&amp;nbsp; date#(DATE) as date&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp; what is output ? and work of date# function here?&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year(DATE) =?&amp;nbsp; month(DATE) =?&amp;nbsp;&amp;nbsp; dont share any link just give me answers for this because i have gone through links but i am in confusion ?&amp;nbsp; pls&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 09:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723521#M1078648</guid>
      <dc:creator />
      <dc:date>2014-07-07T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date field and date#?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723522#M1078649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the higher end you will not find much difference, if your using this functions over a string.&lt;/P&gt;&lt;P&gt;you will find the difference when you have two different formats i.e. Number and string&amp;nbsp; &lt;/P&gt;&lt;P&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) AS date &amp;gt; date function is to format the date according to required format&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;Eg date('26-06-1990','DD MMM, YYYY') gives 26 Jun, 1990&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 u just give date(DATE) &amp;gt; it will give u the default format specified in the Qlikview.&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;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;date#(DATE) &amp;gt; &lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date#() - are string-to-number conversions, i.e. the input is a string that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;contains a date and the function creates a correct date serial number. The output is a dual&lt;/P&gt;&lt;P&gt;field, i.e. both string and number&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Please go through&amp;nbsp; the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;@vi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 10:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723522#M1078649</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-07-07T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date field and date#?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723523#M1078650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attachment&lt;/P&gt;&lt;P&gt;here&lt;/P&gt;&lt;P&gt;your DATE field treated as string&lt;/P&gt;&lt;P&gt;1)Date# converts it to number .&lt;/P&gt;&lt;P&gt;2)Date function doesn't treat it so, gives you null but if you fetch this DATE field data from Excel or any data source then it treated as number,&lt;/P&gt;&lt;P&gt;//ly if you directly made for this string DATE field to month and year&amp;nbsp; QV treated it as null because QV doesn't know in which format it is but when using Date# fucntion then it gives you Month and year both.&lt;/P&gt;&lt;P&gt;one more thing here you use two format for date in one field so, in date# interpret it as number for all only Mar field treated as string because Qlikview didn't understand in which format it is so, gives you same but date function hide it as treated null.&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 10:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-field-and-date/m-p/723523#M1078650</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-07T10:30:36Z</dc:date>
    </item>
  </channel>
</rss>

