getLastModifiedDate

getLastModifiedDate ( string pathFileOnDisk ) : long

Returns the timestamp in milliseconds of a file's last modification date.

Example


console(getLastModifiedDate(path("tmp")+"downloaded.zip")) // -> 1734455816258

Parameters

pathFileOnDisk

Path of the file