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
Answer: Option D
Join The Discussion