How do i convert a string to Time ?
Is there a function like "10/10/07 14:33:05".to_time ?
The reason I need to do this is because I want to use the Time() methods
such as asctime etc.
Time.parse '10/10/07 14:33:05'
=> Wed Oct 10 14:33:05 CDT 2007
Time.parse 'Ruby on Rails'
=> Thu Dec 07 23:17:56 CST 2006