TalendDate Transformation of the Date Format

One Star

TalendDate Transformation of the Date Format

Hello,
I'm using TOS to migrate data From MySQL db to an Oracle db, in one of my tables i need to my table i have to transform the Date fotmat to insert the date in the oracle database here is the originat and the target format :

MySQL db ------------->>>>>> Oracle db

Type "String" Type "Date"
Format " dd-MM-yy " ------->>>> Format " dd-MM-yy "

i tried the TalendDate.parseDate("dd-MM-yy",row1.DateMesD) function but it seems that it dooesn't work !!!!

Thanks in advance for your responses.
One Star

Re: TalendDate Transformation of the Date Format

H@wk wrote:
Hello,
I'm using TOS to migrate data From MySQL db to an Oracle db, in one of my tables i need to my table i have to transform the Date fotmat to insert the date in the oracle database here is the originat and the target format :

MySQL db ------------->>>>>> Oracle db

Type "String" Type "Date"
Format " dd-MM-yy " ------->>>> Format " yyyy-MM-dd "

i tried the TalendDate.parseDate("dd-MM-yy",row1.DateMesD) function but it seems that it dooesn't work !!!!

Thanks in advance for your responses.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog