Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
KPB
Contributor II
Contributor II

Unparseable hardcoded date

I'm trying to pass a hardcoded date (so every row would have this date) and am, getting an unparseable date error.

 

This is the expression I'm using: TalendDate.parseDate("dd-MM-yyyy","01/01/1950"). The field in the mssql database this is going into is of Date type, and has a date pattern of dd-MM-yyyy.

 

Any ideas what I'm doing wrong?

Labels (3)
1 Solution

Accepted Solutions
KPB
Contributor II
Contributor II
Author

Was able to solve my issue. Guess I needed the local version.

TalendDate.parseDateLocale("dd-MM-yyyy","01-01-1950","EN")

View solution in original post

2 Replies
KPB
Contributor II
Contributor II
Author

Was able to solve my issue. Guess I needed the local version.

TalendDate.parseDateLocale("dd-MM-yyyy","01-01-1950","EN")

KPB
Contributor II
Contributor II
Author

Was able to solve my issue. Guess I needed the local version.

TalendDate.parseDateLocale("dd-MM-yyyy","01-01-1950","EN")