From: Markus Date: 2005-05-26T06:37:29+09:00 Subject: Re: Zerofy On Wed, 2005-05-25 at 14:25, aartist wrote: > How I can zerofy the day and month. I like to add 0 in the beginning. > Now an object cannot have 0 at the beginning unless it is a string > object in this context. Does Time.at(time.to_i).strftime('%d/%m/%Y') do what you want? --MarkusQ