dcsimg

How do I get the creation date and time of a file?

John Zukowski

There is no support for getting the creation date and time of a file from Java. All you can get is when the file was last modified, with the the lastModified() method of File.