Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert date to bigint

How do we convert Talend datetime to Integer

DECLARE @previous_timestamp bigint 

SET @previous_timestamp = Integer.ParseInt(" + TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",(Date)globalMap.get("last_run_time")) + ") - 10000;

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi

Can you show an example? what's the source data? what are your expected result?

 

Regards

Shong