Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
a_touti
Contributor
Contributor

convert date format

Hello,

i have a csv file contain dates in this form "yyyy-MM-dd" i wanted to import this file to my database and convert the format to "yyyy/MM/dd" but i didnt find this format on tconverttype and i tried to create a java code but nothing work for me.

any solution please?

thank you in advance.

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable

This is a date format display issue, I think you need to modify it from DB client tool side.

 

View solution in original post

5 Replies
Anonymous
Not applicable

Hi

'Read this data as a Date with date pattern "yyyy-MM-dd", then set the date pattern as "yyyy/MM/dd" in the output table on tMap, eg:

tFileInputDelimited--main--tMap--tDBOutput..

 

Regards

Shong

 

a_touti
Contributor
Contributor
Author

i did what you said but still the same problem

0695b00000debDSAAY.png0695b00000debDhAAI.png

Anonymous
Not applicable

This is a date format display issue, I think you need to modify it from DB client tool side.

 

a_touti
Contributor
Contributor
Author

yes thats true, thank you so much.

Anonymous
Not applicable

Great, thanks for your feedback!