<?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: string to date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256629#M38954</link>
    <description>have you got any idea please ?</description>
    <pubDate>Thu, 10 Apr 2008 08:57:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-04-10T08:57:21Z</dc:date>
    <item>
      <title>string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256625#M38950</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a string like that "16/01/2008 09:04:12 AM" and i need to have a date from this string.&lt;BR /&gt;i try with TalendDate.parseDate("dd/MM/yyyy HH:mm:ss aa", madate) but it doesn't work.&lt;BR /&gt;the log is Unparseable date: "16/01/2008 09:04:12 AM"&lt;BR /&gt;Have u got an idea to help me ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256625#M38950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256626#M38951</link>
      <description>I tried your date string with your format and it works for me. Maybe you have problems with your Locale.&lt;BR /&gt;For a quick test just generate a date with your format and make a visual compare.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 04 Apr 2008 20:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256626#M38951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-04T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256627#M38952</link>
      <description>Hi besco
&lt;BR /&gt;Try this method:
&lt;BR /&gt;TalendDate.parseDateLocale("dd/MM/yyyy HH:mm:ss aa",mydate,"EN") 
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 07 Apr 2008 03:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256627#M38952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-07T03:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256628#M38953</link>
      <description>it's ok now but another problem appears when i load my date in oracle. if i have 2 date like that
&lt;BR /&gt;16/01/2008 09:04:12 AM
&lt;BR /&gt;16/01/2008 09:04:12 PM 
&lt;BR /&gt;there's no difference in oracle.
&lt;BR /&gt;About date, i've another question, how can i put a default value (date of day) for a oracle column.
&lt;BR /&gt;i try in a tmap to put this 
&lt;BR /&gt;
&lt;PRE&gt;row1.ORIGINAL_FILE_DATE.equals("null") ? TalendDate.getDate("dd/MM/yyyy hh:mm:ss") : row1.ORIGINAL_FILE_DATE&lt;/PRE&gt;
&lt;BR /&gt;and the syntax seems to be wrong. 
&lt;BR /&gt;thanks to help me!</description>
      <pubDate>Tue, 08 Apr 2008 16:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256628#M38953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-08T16:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256629#M38954</link>
      <description>have you got any idea please ?</description>
      <pubDate>Thu, 10 Apr 2008 08:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256629#M38954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-10T08:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256630#M38955</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;row1.ORIGINAL_FILE_DATE.equals("null") ? TalendDate.getDate("dd/MM/yyyy hh:mm:ss") : row1.ORIGINAL_FILE_DATE&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;There is no wrong on the syntax, if there are some fileds are empty in Oracle table, you can try this code:
&lt;BR /&gt;
&lt;PRE&gt;row1.ORIGINAL_FILE_DATE==null ? TalendDate.getDate("dd/MM/yyyy hh:mm:ss") : row1.ORIGINAL_FILE_DATE&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 10 Apr 2008 11:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256630#M38955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-10T11:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256631#M38956</link>
      <description>this code is wrong
&lt;BR /&gt;
&lt;PRE&gt;Exception in thread "Main Thread" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt;	Type mismatch: cannot convert from Object&amp;amp;Serializable&amp;amp;Comparable to Date&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Apr 2008 13:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256631#M38956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-10T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256632#M38957</link>
      <description>Hi
&lt;BR /&gt;What's the schema type of row1.ORIGINAL_FILE_DATE in your case? I thought it was string, not Date.
&lt;BR /&gt;If it is a Date type, we should parse a string to a Date.
&lt;BR /&gt;
&lt;PRE&gt;row1.ORIGINAL_FILE_DATE==null ? TalendDate.parseDate("dd/MM/yyyy hh:mm:ss",TalendDate.getDate("dd/MM/yyyy hh:mm:ss") &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; row1.ORIGINAL_FILE_DATE&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 11 Apr 2008 07:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256632#M38957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-11T07:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256633#M38958</link>
      <description>Shong 
&lt;BR /&gt;I am getting the following error when I tried using the expression in tMap, row1.START_DATE_ACTIVE==null ? TalendDate.parseDate("dd/MM/yyyy hh:mm:ss",TalendDate.getDate("dd/MM/yyyy hh:mm:ss") &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; row1.START_DATE_ACTIVE. 
&lt;BR /&gt;ErrorMessage: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
&lt;BR /&gt;Can you please let me know how I can avoid this error. Thanks in advance. 
&lt;BR /&gt;-Venkat</description>
      <pubDate>Sun, 19 Jul 2009 12:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256633#M38958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-19T12:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256634#M38959</link>
      <description>Shong,
&lt;BR /&gt;I figured out the issue. This thread helped me to fix my issue. 
&lt;BR /&gt;Thank you,
&lt;BR /&gt;-Venkat</description>
      <pubDate>Sun, 19 Jul 2009 13:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256634#M38959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-19T13:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256635#M38960</link>
      <description>hi,
&lt;BR /&gt; how to convert string to date in tmap
&lt;BR /&gt; my string is "06/04/2010" but its give a error
&lt;BR /&gt; java .lang .numberformatexception 
&lt;BR /&gt;regards,
&lt;BR /&gt;naveen</description>
      <pubDate>Mon, 06 Dec 2010 11:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256635#M38960</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-12-06T11:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256636#M38961</link>
      <description>Hi,
&lt;BR /&gt;I have a string like that "2 November 2010" and i need to have a date from this string.
&lt;BR /&gt;Any Idea how I can convert this using Talend ?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Z</description>
      <pubDate>Fri, 21 Jan 2011 16:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256636#M38961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-21T16:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256637#M38962</link>
      <description>Please see:&lt;BR /&gt;&lt;A href="http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;&lt;BR /&gt;for all your date formatting needs.</description>
      <pubDate>Mon, 24 Jan 2011 21:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256637#M38962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-24T21:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256638#M38963</link>
      <description>I tried the same with variable type as date and expression as 
&lt;BR /&gt;TalendDate.parseDate("dd/MM/yyyy HH:mm:ss",row1.Target_Resolution_Date) 
&lt;BR /&gt; 
&lt;BR /&gt;where row1.Target_Resolution_Date is of type string 
&lt;BR /&gt;in tMap component but i faced the following error 
&lt;BR /&gt;Exception in component tMap_1 
&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "13 12 2011 06:00:00" 
&lt;BR /&gt; at routines.TalendDate.parseDate(TalendDate.java:643) 
&lt;BR /&gt; at honey.create_my_first_job_0_1.Create_My_First_Job.tFileInputExcel_3Process(Create_My_First_Job.java:1566) 
&lt;BR /&gt; at honey.create_my_first_job_0_1.Create_My_First_Job.runJobInTOS(Create_My_First_Job.java:2312) 
&lt;BR /&gt; at honey.create_my_first_job_0_1.Create_My_First_Job.main(Create_My_First_Job.java:2186) 
&lt;BR /&gt;Caused by: java.text.ParseException: Unparseable date: "13 12 2011 06:00:00" 
&lt;BR /&gt; at java.text.DateFormat.parse(DateFormat.java:354) 
&lt;BR /&gt; at routines.TalendDate.parseDate(TalendDate.java:641) 
&lt;BR /&gt; ... 3 more 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job Create_My_First_Job ended at 12:58 18/01/2012.</description>
      <pubDate>Wed, 18 Jan 2012 07:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256638#M38963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-18T07:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256639#M38964</link>
      <description>hi i want to convert string 7/17/2012 2:57:16 PM to date but it gives error 
&lt;BR /&gt;Exception in component tMap_2 
&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "7/17/2012 2:57:16 PM" 
&lt;BR /&gt; at routines.TalendDate.parseDateLocale(TalendDate.java:676) 
&lt;BR /&gt; at xml_to_mysql.xml_master_data_conversion_0_1.Xml_Master_Data_Conversion.tFileInputXML_4Process(Xml_Master_Data_Conversion.java:6989) 
&lt;BR /&gt; at xml_to_mysql.xml_master_data_conversion_0_1.Xml_Master_Data_Conversion.runJobInTOS(Xml_Master_Data_Conversion.java:8194) 
&lt;BR /&gt; at xml_to_mysql.xml_master_data_conversion_0_1.Xml_Master_Data_Conversion.main(Xml_Master_Data_Conversion.java:8062) 
&lt;BR /&gt;Caused by: java.text.ParseException: Unparseable date: "7/17/2012 2:57:16 PM" 
&lt;BR /&gt; at java.text.DateFormat.parse(DateFormat.java:337) 
&lt;BR /&gt; at routines.TalendDate.parseDateLocale(TalendDate.java:674) 
&lt;BR /&gt; ... 3 more 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;naveen</description>
      <pubDate>Tue, 07 Aug 2012 11:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256639#M38964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256640#M38965</link>
      <description>Hi &lt;BR /&gt;I have this problem with the convertion of a data String type to Date. &lt;BR /&gt;I have this value 2012-04-26T18:27:55, and i want to convert it to a Date data type&lt;BR /&gt;I need this format dd/mm/yyyy&lt;BR /&gt;This is the error message that is returnig:&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2012-04-26T18:27:55</description>
      <pubDate>Wed, 12 Sep 2012 17:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256640#M38965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-12T17:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256641#M38966</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi &lt;BR /&gt;I have this problem with the convertion of a data String type to Date. &lt;BR /&gt;I have this value 2012-04-26T18:27:55, and i want to convert it to a Date data type&lt;BR /&gt;I need this format dd/mm/yyyy&lt;BR /&gt;This is the error message that is returnig:&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2012-04-26T18:27:55&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I have the same issue. Did you solved it or can anybody else can help me to make this working?</description>
      <pubDate>Tue, 15 Oct 2013 11:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256641#M38966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T11:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256642#M38967</link>
      <description>try below code which help you to parse date string into date format, note you can modify your output date format as per your requirement.
&lt;BR /&gt;
&lt;PRE&gt;SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");&lt;BR /&gt;SimpleDateFormat output = new SimpleDateFormat("dd/MM/yyyy");&lt;BR /&gt;Date d = sdf.parse(time);&lt;BR /&gt;String formattedTime = output.format(d);&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Oct 2013 11:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256642#M38967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T11:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256643#M38968</link>
      <description>Tanks for you reply umeshrakhe.&lt;BR /&gt;I solved it another way by setting the pattern in the tXMLMap and changing the input datatype in the Tree schema editor.&lt;BR /&gt;Cheers!</description>
      <pubDate>Tue, 15 Oct 2013 12:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256643#M38968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T12:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: string to date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256644#M38969</link>
      <description>My data is coming like this 2016-10-15 16:50:11, I want this in yyyymmdd format.How can I do this by using Tmap.&lt;BR /&gt;Can any one please suggest.&lt;BR /&gt;Appreciate for help.&lt;BR /&gt;Thanks its done now .</description>
      <pubDate>Sun, 16 Oct 2016 01:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/string-to-date/m-p/2256644#M38969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-16T01:38:08Z</dc:date>
    </item>
  </channel>
</rss>

