File Creation Date

Eduardo Mathias

Greenhorn

Posts: 17

posted 14 years ago

Hi ! I'm not sure if this is really an intermediate question, but here I go: - How can I get a File's creation date using Java ? I've read the Java API specification and there is just a method for retrieving the File last modified date ! Any help is welcome ! Thanx !

Barry Gaunt

Ranch Hand

Posts: 7729

posted 14 years ago

The problem is not with Java, it is the problem of the host operating systems. I GUESS that Java does take a common denominator approach though, so with java.io.File you can get the file's last modified time. It doesn't help you much though, except to point you at looking for a "non-standard" solution. If I find something I'll post it here. -Barry