aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "File name, time and date" Watch "File name, time and date" New topic
Author

File name, time and date

Angela D'souza
Ranch Hand

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

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


"I'm not back." - Bill Harding, Twister
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: File name, time and date