Timestamp to a string
- From: "Sandeep" <sandeepsinghal@xxxxxxxxx>
- Date: 22 Jan 2006 05:11:01 -0800
I have to attach a timestamp to a string with optional date format. (
to create a file )
Eg:
String str = new("filenameMM-DD-YYYY.txt");
or
String str = new("filename.txt");
I need something like str.format(date) which would replace the date
format (if present ) with the current timestamp.
Any help ?
Thanks
Sandeep
.
- Follow-Ups:
- Re: Timestamp to a string
- From: Roedy Green
- Re: Timestamp to a string
- From: Roedy Green
- Re: Timestamp to a string
- From: Tom Leylan
- Re: Timestamp to a string
- From: Rhino
- Re: Timestamp to a string
- From: opalpa@xxxxxxxxx opalinski from opalpaweb
- Re: Timestamp to a string
- Prev by Date: Re: Variable naming problem
- Next by Date: Re: Timestamp to a string
- Previous by thread: Re: age old question
- Next by thread: Re: Timestamp to a string
- Index(es):
Relevant Pages
|