wood burning stoves
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: http://aspose.com/file-tools
subject: File name, time and date
It's not a secret anymore!