<?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: how to get year from date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438209#M163370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Order date formate is like this:&lt;/P&gt;&lt;P&gt;1996-07-05 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-08 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-08 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-09 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-10 00:00:00.000&lt;/P&gt;&lt;P&gt;how can i get the year out of this,please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2013 18:46:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-04T18:46:27Z</dc:date>
    <item>
      <title>how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438206#M163367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to get year from date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am have the order_date colum in a table(like 07/20/1987), I need them to be in years. how can i get the years from dates? please help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 17:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438206#M163367</guid>
      <dc:creator />
      <dc:date>2013-06-04T17:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438207#M163368</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;Date(DateField,'YYYY') as Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or this way&lt;/P&gt;&lt;P&gt;date(date#(DateField,'MM/DD/YYYY'),'YYYY') as Year or simply write&lt;/P&gt;&lt;P&gt;Year(DateField) as Year&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 17:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438207#M163368</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-04T17:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438208#M163369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried all nothing worked.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;i am having the &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;order date&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt; in &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;orders table&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt; and &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;quantity&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt; in &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;order details table&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;i joined the two by left join&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 18:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438208#M163369</guid>
      <dc:creator />
      <dc:date>2013-06-04T18:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438209#M163370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Order date formate is like this:&lt;/P&gt;&lt;P&gt;1996-07-05 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-08 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-08 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-09 00:00:00.000&lt;/P&gt;&lt;P&gt;1996-07-10 00:00:00.000&lt;/P&gt;&lt;P&gt;how can i get the year out of this,please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 18:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438209#M163370</guid>
      <dc:creator />
      <dc:date>2013-06-04T18:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438210#M163371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num#(left(MyDate,4)) as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or year(date#(MyDate, 'YYYY-MM-DD hh:mm:ss.fff')) as Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 18:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438210#M163371</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-04T18:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438211#M163372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write this in script where is your order date field&lt;/P&gt;&lt;P&gt;year(Date#([Order Date],'YYYY-MM-DD hh:mm:ss.hhh')) as Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 18:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438211#M163372</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-06-04T18:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get year from date</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438212#M163373</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;year(Date#([Order Date],'YYYY-MM-DD hh:mm:ss.hhh')) as Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;From tableName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 19:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-year-from-date/m-p/438212#M163373</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-06-04T19:46:20Z</dc:date>
    </item>
  </channel>
</rss>

