Method System.utime()
- Method
utime
voidutime(stringpath,intatime,intmtime,void|intsymlink)- Description
Set the last access time and last modification time for the path
pathtoatimeandmtimerepectively. They are specified as unix timestamps with 1 second resolution.If
symlinkis set andpathrefers to a symlink, then the timestamps for the symlink are set. Symlinks are dereferenced otherwise.- Note
Throws errors on failure.
This function is not available on all platforms. On some platforms the
symlinkflag isn't supported. In that case, the function does nothing ifpathis a symlink.- See also
System.set_file_atime,System.set_file_mtime