Q43
How do you get the current date and time in Ruby?
A.
date = Date.now
B.
time = Time.now
AnswerC.
datetime = DateTime.now
D.
now = Date.today
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board