16 digit epoch time to timestamp

Six Stars

16 digit epoch time to timestamp

Hi,
I have a input field which has 16 digit timestamp. how can i convert it into timestamp.
i saw other posts related to the topic but there epoch timestamp was of 10 digit.
Any help ?
Thanks & regards,
Jugal
Six Stars

Re: 16 digit epoch time to timestamp

1120326200041000 is an example of the input field
Seventeen Stars

Re: 16 digit epoch time to timestamp

Please take al look at the Java doc of the class SimpleDateFormat. This class is in use also in the Talend routines.
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
In the database you have to create the timestamp with a length expression like e.g. timestamp(12) but this depends on the database type.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now