<?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 Conversion in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352265#M118688</link>
    <description>kalkavi,&lt;BR /&gt;There is the founction Long.parseLong(yourString) in Java. So you can do the same thing : yourString == null || "".equals(yourString.trim()) ? null : Long.parseLong(yourString)&lt;BR /&gt;&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
    <pubDate>Tue, 22 Mar 2016 16:55:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-22T16:55:45Z</dc:date>
    <item>
      <title>String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352260#M118683</link>
      <description>I'm new to Talend. Can anyone help me in converting String(20150901) to Date(2015-09-01).&lt;BR /&gt;Thanks in Advance</description>
      <pubDate>Sat, 16 Nov 2024 10:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352260#M118683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352261#M118684</link>
      <description>Hello kalkavi,&lt;BR /&gt;If you want to change the String to Date, you can use&amp;nbsp;TalendDate.parseDate("yyyyMMdd", yourdate).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Tue, 22 Mar 2016 15:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352261#M118684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352262#M118685</link>
      <description>Thanks&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;louislinlin&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Please find the following error. I have also pasted the screen shot. Thanks for your help.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;Exception in component tMap_1&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: ""&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at routines.TalendDate.parseDate(TalendDate.java:895)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at routines.TalendDate.parseDate(TalendDate.java:839)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at local_project.testjob_0_1.TestJob.tFileInputFullRow_1Process(TestJob.java:1231)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at local_project.testjob_0_1.TestJob.runJobInTOS(TestJob.java:1618)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at local_project.testjob_0_1.TestJob.main(TestJob.java:1475)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;Caused by: java.text.ParseException: Unparseable date: ""&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at java.text.DateFormat.parse(Unknown Source)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;	at routines.TalendDate.parseDate(TalendDate.java:881)&lt;/B&gt;&lt;/FONT&gt;[/font][/color]</description>
      <pubDate>Tue, 22 Mar 2016 15:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352262#M118685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T15:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352263#M118686</link>
      <description>kalkavi,&lt;BR /&gt;You should change to yourdate == null || "".equals(yourdate.trim()) ? null : TalendDate.parseDate("yyyyMMdd", yourdate)&lt;BR /&gt;&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Tue, 22 Mar 2016 16:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352263#M118686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T16:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352264#M118687</link>
      <description>Thanks&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;louislinlin for your help. It works fine.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;Also, on another topic. Is there a function to convert String to Long. do i have to post as a seperate topic.?&lt;/B&gt;&lt;/FONT&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;B&gt;&lt;FONT size="2"&gt;Any help would be&amp;nbsp;appreciated.&lt;/FONT&gt;&lt;/B&gt;[/font][/color]&lt;BR /&gt;[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="2"&gt;&lt;B&gt;Thanks&lt;/B&gt;&lt;/FONT&gt;[/font][/color]</description>
      <pubDate>Tue, 22 Mar 2016 16:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352264#M118687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T16:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352265#M118688</link>
      <description>kalkavi,&lt;BR /&gt;There is the founction Long.parseLong(yourString) in Java. So you can do the same thing : yourString == null || "".equals(yourString.trim()) ? null : Long.parseLong(yourString)&lt;BR /&gt;&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Tue, 22 Mar 2016 16:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352265#M118688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T16:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352266#M118689</link>
      <description>hi,
&lt;BR /&gt;I personally use :
&lt;BR /&gt;
&lt;PRE&gt;Long myLong =&amp;nbsp;Long.valueOf(&amp;lt;your string here&amp;gt;);&lt;/PRE&gt;
&lt;BR /&gt;If your string is not a number he will throws a NumberFormatException.
&lt;BR /&gt;
&lt;BR /&gt;CSen</description>
      <pubDate>Tue, 22 Mar 2016 17:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352266#M118689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: String to date Conversion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352267#M118690</link>
      <description>Thanks&amp;nbsp;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;louislinlin &amp;amp; csen&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Tue, 22 Mar 2016 23:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/String-to-date-Conversion/m-p/2352267#M118690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T23:35:54Z</dc:date>
    </item>
  </channel>
</rss>

