|
From: Larry W. V. <lv...@ca...> - 2004-02-05 10:43:28
|
> From: Agnar Renolen <agn...@em...> > I was tinkering with a tcl-program of mine and needed the creation > date of a file. To my dismay, the Tcl clock command refers to a > 'ctime' option of the file command, but it seems that this option is > not implemented, despite the existence of 'atime' and 'mtime' options. ctime does not represent creation date on Unix type file systems. I don't know what it represents on Windows filesystems On Unix file systems, you can't, effectively, change the ctime, because the act of trying to change it causes the OS to set it to the time you change it... However, if there are file systems where ctime represents creation time, then it seems like a tip like this should be considered. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |