Gets the time when the file was last modified. The time is returned as a POSIXct object.

# S3 method for default
lastModified(pathname, ...)

Arguments

pathname

A character string of the pathname to be checked.

...

Not used.

Value

Returns POSIXct object specifying when the file was last modified. If the file does not exist or it is a directory, 0 is returned.

Author

Henrik Bengtsson

See also

Internally file.info() is used.