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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs