vl-file-systime

(vl-file-systime filename)

The vl-file-systime function determines the date and time when a file has last been modified.

Arguments

filename specifies the name of the file to be checked (as text string).

Return Value

The function returns a list reporting the modification date and time. It returns nil, if the file is not found.

The list contains the following elements:

Examples

: (vl-file-systime "mylisp.lsp")

(2010 5 3 8 10 9 45 0)

The returned list displays that the file was last modified in 2010, in the 5th month of the year (May), the 3rd day of the week (Wednesday), on the 8th day of the month, at 10:9:45.

: (vl-file-systime "dummy.lsp")

nil

The specified file does not exist.