<?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 Issue in converting Date format yyyy to int in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361798#M126071</link>
    <description>&lt;P&gt;There is a mySQL variable in "YEAR" datatype i.e. present in "yyyy" and I would like to convert it as int through Talend.&lt;BR /&gt;&lt;BR /&gt;I use tMap with expression function formatDate to convert the type as str and then use tConvertType compo to convert the str as int. When I look up the result by tLogRow. the variable is unable to represent with error&amp;nbsp;java.text.ParseException: Unparseable date: "2004". How can I solve the issue?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 05:13:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-04T05:13:11Z</dc:date>
    <item>
      <title>Issue in converting Date format yyyy to int</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361798#M126071</link>
      <description>&lt;P&gt;There is a mySQL variable in "YEAR" datatype i.e. present in "yyyy" and I would like to convert it as int through Talend.&lt;BR /&gt;&lt;BR /&gt;I use tMap with expression function formatDate to convert the type as str and then use tConvertType compo to convert the str as int. When I look up the result by tLogRow. the variable is unable to represent with error&amp;nbsp;java.text.ParseException: Unparseable date: "2004". How can I solve the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 05:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361798#M126071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T05:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in converting Date format yyyy to int</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361799#M126072</link>
      <description>&lt;P&gt;Assuming you have the correct syntax of TalendDate.formatDate(), are you sure the year column is on the database as a date type and the schema within Talend is a date time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361799#M126072</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2018-06-04T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in converting Date format yyyy to int</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361800#M126073</link>
      <description>&lt;P&gt;Check to make sure the input is a valid date format then use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TalendDate.getPartOfDate("YEAR",yourdate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returns an INT type without the need of the tconverttype&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 05:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-in-converting-Date-format-yyyy-to-int/m-p/2361800#M126073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T05:02:51Z</dc:date>
    </item>
  </channel>
</rss>

