Getting the last modified date of a file in Java

As in the javadocs for java.io.File:

new File("/path/to/file").lastModified()

Leave a Comment