Here you can find the source of getFilesModDate(String path)
public static Long getFilesModDate(String path)
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { public static Long getFilesModDate(String path) { File file = new File(path); return file.lastModified(); }/* ww w .j a va 2 s . c o m*/ }