[resolved] Unparseable Date

Six Stars

[resolved] Unparseable Date

11/26/2013 0:00
11/25/2013 0:00
11/22/2013 0:00
11/14/2013 0:00
11/13/2013 0:00
11/12/2013 0:00
11/4/2013 0:00
9/30/2013 0:00
9/25/2013 0:00

I am trying to parse through these dates defined as string at the data source level. 
tmap.Scheduled_Date.substring(0, 10) and then Var.var1.equals("")?null:TalendDate.parseDate("MM/dd/yyyy",Var.var1) 

Throws out an error: Unparseable date: "2013-11-26".
I want the date as MM/dd/yyyy format and no time.
Please provide your meaningful assistance.
John Doe
Moderator

Re: [resolved] Unparseable Date

Hi,
We see that this topic has been set as resolved. Feel free to let us know if this issue still repro on your side.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.