Forum: Ruby How can I format Time.now output

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7fbd0e99b27064b14793f028022974e5?d=identicon&s=25 Zhao Yi (youhaodeyi)
on 2009-01-18 13:22
I use Time.now to get the current date and time. How can I format its
output?
E0d864d9677f3c1482a20152b7cac0e2?d=identicon&s=25 Robert Klemme (Guest)
on 2009-01-18 13:36
(Received via mailing list)
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 topic is locked and can not be replied to.