How can I format Time.now output


#1

I use Time.now to get the current date and time. How can I format its
output?


#2

On 18.01.2009 13:21, Zhao Yi wrote:

I use Time.now to get the current date and time. How can I format its
output?

http://ruby-doc.org/core/classes/Time.html#M000297

robert