From: "AMILIN Aurélien" Date: 2010-08-06T23:54:08+09:00 Subject: Re: Parse a Date From a String Try : Date.parse("Thu Aug 05 15:00:36 2010") or DateTime.parse("Thu Aug 05 15:00:36 2010") if you want to have access to hours and minuites Aurélien AMILIN http://github.com/holinnn/ Le 06/08/2010 16:45, Arti Singh a écrit : > Help!! I get a float when I try to parse a date from a string. > The date from the string is in the format "Thu Aug 05 15:00:36 2010" > I try date_var="Thu Aug 05 15:00:36 2010" > date_var.strptime("%a %b %d %I:%M:%S %Y") but I get a floating point > variable