From: Sunny Bogawat Date: 2008-05-07T18:08:48+09:00 Subject: Re: Create a new file name by appending timestamp to origina Robert Klemme wrote: > 2008/5/7 Sunny Bogawat : >> i want a new file name from existing file name but with attaching time >> stamp but gives error invalid argument type please tell simple way for >> doing this > > If you do not tell us what you did and what error you saw we cannot > help you. Did you look at > http://www.ruby-doc.org/core/classes/Time.html#M000297 ? > > Kind regards > > robert i want attaches a timestamps to file for this i doing Time.now_filename but it gives error because time has a space sum it so i need some another mechanism using which i generate timestamps and attached to timestamps. -- Posted via http://www.ruby-forum.com/.