Using time.parse for scraping

I'm trying to scrape from an API and I was wondering how I would fetch
the date AND time? The date and time are in this format:

end_date: "2013-06-08 08:00:00"

How would I use time.parse if the date and time can be anything? I
understand when I use this:

DateTime.parse "2008-01-09 10:12:15"

I will fetch the the date 1/9/2008 and time 10:12 but what code should I
write to fetch any date and time.

Trying to be as specific as I can..

···

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