Home Java Example Java Io Change a file timestamp



Change a file timestamp
Posted on: March 13, 2008 at 12:00 AM
Timestamp is a utility to change or modify the time of a file. Java provides the facility for changing a file timestamp according to the user reliability.
C:\vinod\Math_package>javac ChangeFileDate.java

C:\vinod\Math_package>java ChangeFileDate
Change file timestamp example!
Enter file name with extension:
StrStartWith.shtml
Enter last modified date in 'dd-mm-yyyy' format:
23-04-2007
Modification is successfully!

Download this example.

Related Tags for Change a file timestamp:
javacfileideormdateformtimescriptiohelpmethoduserformattimestampdisplayipvinamechangeusingthismessageidcheckshowifforutilityexistsprogramtoramcilmodifyreliabilityruncishdescriptionbieilsuccessitdesnotlihangsplusewiseulmodificationimcehanginginnomodrmstamplaypssagecaddjispafterchangingesrunningstsfullabiagemehowmodiprocatdorelwhenssussaspginessatkishaimellivandstampccsautilwisvautixiscrssririprdtamthshoavstabatiafexidispicaicaplprndonogro


More Tutorials from this section

Ask Questions?    Discuss: Change a file timestamp   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.