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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
manodwhb
Champion II
Champion II

epoch datetime conversion

The epoch time is 1170321248 translates to : January 31st, 2007 04:14:08 PM in Talend,how we can achive this?

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II
Author

i tried below syntax in tmap

 

 

(row1.myTimeColumn ==null || row1.myTimeColumn =="" )?null:
(new java.util.Date(Long.parseLong(row1.myTimeColumn) * 1000) );

View solution in original post

3 Replies
manodwhb
Champion II
Champion II
Author

i tried below syntax in tmap

 

 

(row1.myTimeColumn ==null || row1.myTimeColumn =="" )?null:
(new java.util.Date(Long.parseLong(row1.myTimeColumn) * 1000) );

TRF
Champion II
Champion II

Hi,
This link may help you https://community.talend.com/t5/Design-and-Development/How-to-convert-of-epoch-time-to-human-readabl...
Now you have to adapt it to the desired date format.
TRF
Champion II
Champion II

Does this help?

If so please mark this case as solved (Kudos also accepted).