Created on 08-09-2019 03:02 AM - edited 08-17-2019 04:18 PM
Is there some way to convert "file.creationtime" format to timestamp format?
Like below:
to
Created 08-12-2019 01:26 AM
@Raymond Cui
Try with adding new attribute in UpdateAttribute processor as
epochtime
${file.creationTime:toDate("yyyy-MM-dd'T'HH:mm:ss+0000"):toNumber()}
Then nifi will match the format and convert to epoch time.