Excel Date value differs in Generation Mode

Five Stars

Excel Date value differs in Generation Mode


I am reading date column and also a custom format date column value from excel as String and I get different values based on the generation mode I select. 

Can someone help me with, what is the proper way to read date column? I understand the usage of TalendDate::format() and parse() methods. 

I am processing a large excel file, so the generation mode has to be event mode.

I have attached sample excel file, job is very simple and all columns are read as string

tReadFileExcel  ------->  tLogRow

I am using DI 6.3.1


Re: Excel Date value differs in Generation Mode


Do you want to convert your Date type to String type in work flow? What does your expected result look like?

More information will be helpful for us to understand your requirement.

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Excel Date value differs in Generation Mode

Hello Sabrina,

I would like to have it as String in M/d/yyyy format and also would like to understand why the values are different from what is shown in Excel and in Talend.




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.