You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-04-06 18:07:51

dudedoe01
Member
84 posts

dudedoe01 said:

[resolved] Unparseable Date

[table][tr][td]11/26/2013 0:00[/td]
[/tr]
[tr][td]11/25/2013 0:00[/td]
[/tr]
[tr][td]11/22/2013 0:00[/td]
[/tr]
[tr][td]11/14/2013 0:00[/td]
[/tr]
[tr][td]11/13/2013 0:00[/td]
[/tr]
[tr][td]11/12/2013 0:00[/td]
[/tr]
[tr][td]11/4/2013 0:00[/td]
[/tr]
[tr][td]9/30/2013 0:00[/td]
[/tr]
[tr][td]9/25/2013 0:00[/td]
[/tr]
[/table]

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

Last edited by dudedoe01 (2017-04-06 19:14:31)

Offline

#2 2017-04-07 03:21:35

xdshi
Talend Team


xdshi said:

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


What we can do is to make sure that Talend will be your best choice!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy