Parse an xsd:date or xsd:datetime

I'd think there would be something built-in or in a commonly used
library to parse an xsd:date or xsd:datetime into a ruby Time. Those
types defined in XML Schema. But I'm not finding it. Any hints?

···

--
Posted via http://www.ruby-forum.com/.

It is built into the Time and Date classes. See
class Time - RDoc Documentation, and do read
class Time - RDoc Documentation to know what to
expect.

Regards,
Ammar

···

On Wed, Oct 20, 2010 at 1:03 AM, Jonathan Rochkind <rochkind@jhu.edu> wrote:

I'd think there would be something built-in or in a commonly used
library to parse an xsd:date or xsd:datetime into a ruby Time. Those
types defined in XML Schema. But I'm not finding it. Any hints?