Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
wueste
Contributor
Contributor

Import Excel Data (hh:mm:ss)

Hello,

i try to import an excel sheet with a 'time' field (format hh:mm:ss, not dateTime) into a string field in Talend.

I don't get the same data.

Source Data: 07:16:09

Talend: 0,30288125

or

Source Data: 02:17:47

Talend: 0,09568800000000001

0695b00000G6741AAB.png

How can get the right Data (

07:16:09)

in Talend, or what have i to calculate to get the correct result?

Thanks a lot in advance!

Labels (2)
7 Replies
Anonymous
Not applicable

Hi

In Excel, the cell format should be set to Time. In component, open the Advanced Settings panel, check the 'Convert Date column to string' box.

0695b00000G6CAOAA3.png 

Regards

Shong

wueste
Contributor
Contributor
Author

Dear Shong,

thanks for your answer. Unfortunately there is no change in the result:

 

source:

result:any idea?

 

 

Anonymous
Not applicable

I have made a quick testing and it works on my side. Can you upload a sample excel and for testing?

 

Regards

Shong

wueste
Contributor
Contributor
Author

gjeremy,

sorry, but a short question: how to implement? in tmap?

 

 

wueste
Contributor
Contributor
Author

Additional Information: The import file is a .xlsm file! maybe is that the problem?

wueste
Contributor
Contributor
Author

shong,

attached a sample xlsm.

wueste
Contributor
Contributor
Author

any ideas?

Thanks!