This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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


Win a copy of Head First Android this week in the Android forum!
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: 43377
    
  32
Read this.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20049
    
  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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Appending Date and TimeStamp to the File name
 
It's not a secret anymore!