Vidyalelo
Ruby Programming · Q26

Working with Dates and Times in Ruby

Programming · Ruby Programming · question 26

Q26

What is the purpose of the xmlschema method for formatting date and time strings in Ruby?

A.
Converts a Date object to an XML schema-compliant string
B.
Converts a DateTime object to an XML schema-compliant string
Answer
C.
Converts an XML schema-compliant string to a Date object
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board