Java File getLastModifiedDate() Utility Method

This page contains the source code of Java File getLastModifiedDate() utility method - This method gets last modified given file date.

Java File getLastModifiedDate() Utility Method - Get last modified given file date

The following String getDigits() utility method gets the last modified given file date:
/**
 * get last modified given file date
 * @param file
 * @return
 */
public static long getLastModifiedDate(File file) {
    return file.lastModified();
}










Comments