Figured it out. Turns out, I was checking if ARGV's size was 0, then trying it. Clearly, if ARGV was 0, there are no options or arguments. Thus, dateArr[0] is nil and cannot be used for equations. Thanks for all your help! Cheers, dlucci -- Posted via http://www.ruby-forum.com/.