------art_125436_19564381.1166054624190
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sorry for posting a beginner question here, but it seems like date/format.rb
is missing documentation on ruby-doc.org.

So, the question is, why does this code not work?  (I'm using ruby-1.8.4)

irb(main):001:0> require 'date'
true
irb(main):002:0> myd  ateTime.strptime("1166049481", '%s')
ArgumentError: 3 elements of civil date are necessary
        from lib/ruby/1.8/date.rb:1214:in `new_with_hash'
        from lib/ruby/1.8/date.rb:1238:in `strptime'
        from (irb):2

I was able to make this work: Date::strptime("1/1/1970", '%d/%m/%Y') so I'm
pretty sure I don't have a syntax error.

Thanks for any help.

------art_125436_19564381.1166054624190--