This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes tim stamps of saved files 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 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "tim stamps of saved files" Watch "tim stamps of saved files" New topic
Author

tim stamps of saved files

Anuj Anand
Ranch Hand

Joined: Nov 18, 2000
Posts: 96
Is there any way in java where we can get time stamps of saved files in a directory through java
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Is the lastModified method of the class File good enough?

Moving this from Servlets -> Java In General (Beginner)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tim stamps of saved files