From: Timothy Hunter Date: 2005-08-14T23:21:13+09:00 Subject: Re: Newbie question by apparent old guy;) len wrote: > I was trying some code from the "Learning to Program" by Chris Pine, > excellent site by the way for learning Ruby. > > The code I tried was; > > puts Time.mktime(1952, 4, 3) > > I get an error; > > Argument Error: argument out of range > > Don't tell me Ruby practices age discrimination:{o > > Len Sumnler > (Old Programmer) > Interesting. Which version of Ruby are you using? It works for me at 1.8.2: test$ irb irb(main):001:0> puts Time.mktime(1952, 4, 3) Thu Apr 03 00:00:00 EST 1952 => nil Tim Hunter (Another Old Programmer)