Version 3 of file atime

Updated 2007-03-14 15:14:03

file atime name ?time?

Returns a decimal string giving the time at which file name was last accessed. If time is specified, it is an access time to set for the file. The time is measured in the standard POSIX fashion as seconds from a fixed starting time (often January 1, 1970). If the file doesn't exist or its access time cannot be queried or set then an error is generated. On Windows, FAT file systems do not support access time.


Note that there does not appear to be an interface to ctime - the time the last file attribute change occured. The ctime that is returned by file attributes is NOT the creation time (at least not on Unix).


See also:


Tcl syntax help - Category Command - Category File