[thelist] Getting a file's creation date in Java

Hassan Schroeder hassan at webtuitive.com
Wed Apr 2 17:29:45 CST 2003


Roger Ly wrote:

> Is this true?  Do file systems not store date created?  I'm sure that
> every OS I've ever dealt with has the ability to display both the last
> modified date and the creation date of a file.

Then apparently you've never dealt with *nix  :-)

(Try `man stat` for a list of file system properties.)

Yeah, W2K/NTFS seems to store a 'Creation Date', so if you only need
this on Windows, it's JNI time...

-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the thelist mailing list