This content has been marked as final. Show 2 replies
gimbal2 wrote:Yeah, seems like Java 7 has it. http://download.oracle.com/javase/7/docs/api/java/nio/file/attribute/BasicFileAttributes.html#creationTime()
Creation date? I'm sorry but the File object provides only the last modified date. You can get it as a date using:
I wonder if the NIO package can provide more information, I'm not too familiar with it.
File file = new File("bla.bla"); Date lastModified = new Date(file.lastModified());