Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
java.sql.Timestamp t = new java.sql.Timestamp(TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",ts).getTime());
t.setNanos(Integer.parseInt(ts.substring(ts.lastIndexOf(".") + 1)));
System.out.println(t);
2009-10-30 06:53:43.000553929