Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
String [] arr = sub.split("-");
String newDate = arr+"/"+arr+"/"+arr;
Hi
I saw you screen shot.I also given like this "TalendDate.parseDate("MM/dd/yyyy",DataFile1.LOSS_DT.substring(0, 10) )".It showing error like
Exception in component tMap_2
java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2005-01-02".
TalendDate.parseDate("yyyy-MM-dd",DataFile1.LOSS_DT.substring(0, 10) )