<?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 date conversion issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/date-conversion-issue/m-p/2272477#M49740</link>
    <description>Good morning,
&lt;BR /&gt;I would like to generate a file that contains dates like this pattern DD / MM / YYYY but when generating the query with component tOracleInput with the date that I have the following form : Tue Oct 23 00:00:00 CEST 2008 .. I realize therefore to_char (date, 'DD / MM / YYYY HH24: MI: SS') in the tOracleInput and I get the following exception:
&lt;BR /&gt;Except in Component tOracleInput_1
&lt;BR /&gt;java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh: mm: ss.fffffffff
&lt;BR /&gt; at java.sql.Timestamp.valueOf (Unknown Source)
&lt;BR /&gt; at oracle.jdbc.driver.CharCommonAccessor.getTimestamp (CharCommonAccessor.java: 485)
&lt;BR /&gt;Could you help me ?
&lt;BR /&gt;Thank you.</description>
    <pubDate>Sat, 16 Nov 2024 14:16:54 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T14:16:54Z</dc:date>
    <item>
      <title>date conversion issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/date-conversion-issue/m-p/2272477#M49740</link>
      <description>Good morning,
&lt;BR /&gt;I would like to generate a file that contains dates like this pattern DD / MM / YYYY but when generating the query with component tOracleInput with the date that I have the following form : Tue Oct 23 00:00:00 CEST 2008 .. I realize therefore to_char (date, 'DD / MM / YYYY HH24: MI: SS') in the tOracleInput and I get the following exception:
&lt;BR /&gt;Except in Component tOracleInput_1
&lt;BR /&gt;java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh: mm: ss.fffffffff
&lt;BR /&gt; at java.sql.Timestamp.valueOf (Unknown Source)
&lt;BR /&gt; at oracle.jdbc.driver.CharCommonAccessor.getTimestamp (CharCommonAccessor.java: 485)
&lt;BR /&gt;Could you help me ?
&lt;BR /&gt;Thank you.</description>
      <pubDate>Sat, 16 Nov 2024 14:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/date-conversion-issue/m-p/2272477#M49740</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: date conversion issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/date-conversion-issue/m-p/2272478#M49741</link>
      <description>Hello
&lt;BR /&gt;Set the data type of 'date' column as String when defining the schema of tOracleInput component, then link to a tMap/tJavaRow, convert this string to a date:
&lt;BR /&gt;
&lt;PRE&gt;TalendDate.parseDate("EEE MMM dd HH:mm:ss zzzz yyyy",row1.date)&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 28 Jul 2008 03:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/date-conversion-issue/m-p/2272478#M49741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-28T03:56:00Z</dc:date>
    </item>
  </channel>
</rss>

