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?

On Wed, Oct 20, 2010 at 1:03 AM, Jonathan R. [email protected]
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?

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