From: Robert Klemme Date: 2008-05-07T17:51:26+09:00 Subject: Re: Create a new file name by appending timestamp to original 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 -- use.inject do |as, often| as.you_can - without end