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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
AM1599726828
Contributor
Contributor

Convert date to timestamp

Hello,

I'm using tmap from a Excel file to a other and I need to convert a date (yyyy-mm-dd) to a unix timestamp (integer).

I've been searching and tried many things but I cannot find the answer...

Could you help me ?

Labels (4)
2 Replies
JohnRMK
Creator II
Creator II

https://community.talend.com/s/question/0D53p00007vClslCAC/how-to-convert-the-system-timestamp-to-epoch-unix-timestamp

JohnRMK
Creator II
Creator II

TalendDate.addDate(TalendDate.getCurrentDate(), -1, "ss").getTime()

Column is long format