How to calculate timestamp difference
Posted: Wed Jun 03, 2015 9:45 am
I need to determine the timestamp difference between a local file and a server file. The transfer of a local file shall depend on a certain result of the calculation of timestamp local minus timestamp server.
In my project I use
${FileInfo("resource:smb://folder/file.csv"):lastModifiedMillis()} - ${CurrentTimeMillis()} for the local file.
In my project I use
${FileInfo("resource:smb://folder/file.csv"):lastModifiedMillis()} - ${CurrentTimeMillis()} for the local file.