Q4
What is the purpose of the strptime method in Ruby?
A.
Converts a Date or Time object to a string
B.
Returns the day of the month of the Date or Time object
C.
Returns the month of the Date or Time object
D.
Parses a string into a Date or Time object using a specified format
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board