chickadee » posix » set!

file-access-time FILEprocedure
file-change-time FILEprocedure
file-modification-time FILEprocedure
set! (file-modification-time FILE) SECONDSprocedure

Returns time (in seconds) of the last access, modification or change of FILE. FILE may be a filename or a file-descriptor. If the file does not exist, an error is signaled.

file-access-time, file-change-time and file-modification-time also accept a port object as their argument.

(set! (file-modification-time FILE) SECONDS) sets the access- and modification time of FILE to SECONDS.