Gets the time when the file was last modified
Gets the time when the file was last modified. The time is returned as a POSIXct
object.
## Default S3 method: lastModified(pathname, ...)
pathname |
A |
... |
Not used. |
Returns POSIXct
object specifying when the file was last modified.
If the file does not exist or it is a directory, 0
is returned.
This function follows symbolic links (also on Windows) and returns a value based on the link target (rather than the link itself).
Henrik Bengtsson
Internally file.info
() is used.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.