[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File: lastModified



Hello all:
 
How does one go about getting the last time a directory was modified?  I have tried the File method lastModified() but to no avail.  Here is the Date that I get when I try the following code:  
 
 
 
Wed Dec 31 19:00:00 EST 1969
 
 
 
[CODE]
 
File f = new File("C:\\SOME_DIRECTORY");
System.out.println(new Date(f.lastModified()).toString());
 
[CODE]
 
 
Thanks,
 
-Jason