This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Appending Date and TimeStamp to the File name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Appending Date and TimeStamp to the File name" Watch "Appending Date and TimeStamp to the File name" New topic
Author

Appending Date and TimeStamp to the File name

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I need to append date and Time Stamp to the File .
I have tried this, but its not working




Please help


Save India From Corruption - Anna Hazare.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43905
    
  33
Read this.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20077
    
  30

java.text.DateFormat and its subclasses are your friends


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Have you checked out Aspose?
 
subject: Appending Date and TimeStamp to the File name
 
It's not a secret anymore!