<?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: [resolved] Extract year &amp; Month from Date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311965#M82957</link>
    <description>Hi Raja, 
&lt;BR /&gt; 
&lt;BR /&gt;Use below Methods: 
&lt;BR /&gt;Extract Year--&amp;gt;&amp;gt; TalendDate.formatDate("yyyy",row1.Date) 
&lt;BR /&gt;Extract Month--&amp;gt;&amp;gt; TalendDate.formatDate("MM",row1.Date) 
&lt;BR /&gt;I hope Above logics are work fine.. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;kumar</description>
    <pubDate>Wed, 07 May 2014 11:35:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-07T11:35:42Z</dc:date>
    <item>
      <title>[resolved] Extract year &amp; Month from Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311964#M82956</link>
      <description>Hi all,
&lt;BR /&gt;I have a problem.. I want to extract Year and month from date. I tried with this method :
&lt;BR /&gt;row1.var.getYear()
&lt;BR /&gt;row1.var.getMonth()
&lt;BR /&gt;But it doesn't work
&lt;BR /&gt;For exemple, my date is "2006-01-01" , with tLogRow, when i do
&lt;BR /&gt;getMonth() i found in the output "0"
&lt;BR /&gt;for "2006-02-01" i found "1"
&lt;BR /&gt;for "2006-03-01" i found 2
&lt;BR /&gt;getYear() ---&amp;gt; i found 106 in the output
&lt;BR /&gt;getDay()---&amp;gt; i found 0 
&lt;BR /&gt;
&lt;BR /&gt;Why this method doesn't work ? Is there an other method for extraction ? 
&lt;BR /&gt;Thanks in advance,
&lt;BR /&gt;
&lt;BR /&gt;Rajaa</description>
      <pubDate>Wed, 07 May 2014 11:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311964#M82956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T11:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Extract year &amp; Month from Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311965#M82957</link>
      <description>Hi Raja, 
&lt;BR /&gt; 
&lt;BR /&gt;Use below Methods: 
&lt;BR /&gt;Extract Year--&amp;gt;&amp;gt; TalendDate.formatDate("yyyy",row1.Date) 
&lt;BR /&gt;Extract Month--&amp;gt;&amp;gt; TalendDate.formatDate("MM",row1.Date) 
&lt;BR /&gt;I hope Above logics are work fine.. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;kumar</description>
      <pubDate>Wed, 07 May 2014 11:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311965#M82957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Extract year &amp; Month from Date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311966#M82958</link>
      <description>Hi Kumar, 
&lt;BR /&gt;Thank you so much for the help, it works 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 07 May 2014 13:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Extract-year-Month-from-Date/m-p/2311966#M82958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T13:47:14Z</dc:date>
    </item>
  </channel>
</rss>

