From: Patrick Spence Date: 2006-08-15T21:49:33+09:00 Subject: Re: ParseDate.parsedate() and Time.now() > irb(main):029:0> timeNow = Time.now().to_s() > => "Fri Aug 11 11:03:36 Central Daylight Time 2006" > > irb(main):030:0> ParseDate.parsedate(timeNow) > => [nil, 8, 11, 11, 3, 36, "Central", 5] > > Seems to me that it should return this, note the year in the 1st element > => [2006, 8, 11, 11, 3, 36, "Central", 5] The point I was trying to make is that the 1st element of the array returned by parsedate() seems that it should contain the year 2006, intstead of a nil. As for the issue of returning "Central" vs "CST" or "CDT", I'm not overly concerned with that at this time. No doubt, that will change. -- Posted via http://www.ruby-forum.com/.