answersLogoWhite

0

(Time.now) to display the time in Ruby programming.

(.to_s) is appended to (Time.now) to return a string representing the current time.

Time.now.to_s » "Tues Oct 11 07:49:17 PDT 2011"

User Avatar

Wiki User

13y ago

What else can I help you with?