<?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: issue with date conversion in parse date from 2018-10-01 00:00:00 to yyyyMMdd in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/issue-with-date-conversion-in-parse-date-from-2018-10-01-00-00/m-p/2279168#M54420</link>
    <description>Your code has two errors: (1) you have reversed the two arguments (i.e. the date to parse is the second argument, not the first); (2) the date format string doesn't include the timestamp, while the date you are parsing does. Here is an example from Talend's Help Center:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.talend.com/reader/H~ouYvKTrzr7kXU4N4rcpA/~VB3H3cm80qc7OIB~ySwWA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/H~ouYvKTrzr7kXU4N4rcpA/~VB3H3cm80qc7OIB~ySwWA&lt;/A&gt;</description>
    <pubDate>Wed, 28 Nov 2018 02:39:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-28T02:39:26Z</dc:date>
    <item>
      <title>issue with date conversion in parse date from 2018-10-01 00:00:00 to yyyyMMdd</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-date-conversion-in-parse-date-from-2018-10-01-00-00/m-p/2279167#M54419</link>
      <description>&lt;P&gt;I have to convert string format which is in this format coming from oralce input "2018-10-01 00:00:00"&amp;nbsp; &amp;nbsp; to yyyyMMdd&amp;nbsp;string or number format .&lt;BR /&gt;when i use below code in talend tjavarow ,&lt;BR /&gt;System.out.println(TalendDate.parseDate("2018-10-01 00:00:00","yyyyMMdd"));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it throws an error&amp;nbsp; as&lt;/P&gt;
&lt;P&gt;local_project.test_date_functions_0_1.Test_date_Functions - tJavaRow_1 java.text.ParseException: Unparseable date: "yyyyMMdd"local_project.test_date_functions_0_1.Test_date_Functions - tJavaRow_1 java.text.ParseException: Unparseable date: "yyyyMMdd"Exception in component tJavaRow_1java.lang.RuntimeException: java.text.ParseException: Unparseable date: "yyyyMMdd" at routines.TalendDate.parseDate(TalendDate.java:889) at routines.TalendDate.parseDate(TalendDate.java:833)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can someone help me on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 16:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-date-conversion-in-parse-date-from-2018-10-01-00-00/m-p/2279167#M54419</guid>
      <dc:creator>sudhee</dc:creator>
      <dc:date>2018-11-27T16:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: issue with date conversion in parse date from 2018-10-01 00:00:00 to yyyyMMdd</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-date-conversion-in-parse-date-from-2018-10-01-00-00/m-p/2279168#M54420</link>
      <description>Your code has two errors: (1) you have reversed the two arguments (i.e. the date to parse is the second argument, not the first); (2) the date format string doesn't include the timestamp, while the date you are parsing does. Here is an example from Talend's Help Center:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.talend.com/reader/H~ouYvKTrzr7kXU4N4rcpA/~VB3H3cm80qc7OIB~ySwWA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/H~ouYvKTrzr7kXU4N4rcpA/~VB3H3cm80qc7OIB~ySwWA&lt;/A&gt;</description>
      <pubDate>Wed, 28 Nov 2018 02:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-date-conversion-in-parse-date-from-2018-10-01-00-00/m-p/2279168#M54420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T02:39:26Z</dc:date>
    </item>
  </channel>
</rss>

