Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a file and I use the component tFileProperties to have several informations to my file.
I would like to convert mtime to date.
I search and I find this :
https://community.talend.com/s/article/Converting-a-Unix-timestamp-to-a-readable-date-67AVR
but it's not ok for this example.
Who has had this before?
Kinds regards;
hi @Eric Vincent , you can try something like this : new java.util.Date((long)(row1.mtime*1000)/1000)
in a tJavaRow or a tMap component
hi @Eric Vincent , you can try something like this : new java.util.Date((long)(row1.mtime*1000)/1000)
in a tJavaRow or a tMap component
Hi @guenneguez jeremy
thanks for this answer.
Please Can You tell me something more about that?
Hi @Raymond James , what do you want to know about it ?