Answer Posted / Rakesh Chandra
"To create a new Time instance in Ruby, you can use the Time.new method or Time.at method.nnTime.new creates a new instance of Time with the current date and time, while Time.at takes a Unix timestamp as an argument."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers