How can I format Time.now output

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

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