File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes File name, time and date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "File name, time and date" Watch "File name, time and date" New topic

File name, time and date

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
I want to get the date and time of files which is in windows explore. How can I get it using Java?
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
See the lastModified() method in File.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: File name, time and date
jQuery in Action, 3rd edition