Hello,
We are making a website to handle all of our family pictures. The earliest
picture I found was 1850, so the code was
Time.mktime(1850)
and it said
ArgumentError: time out of range
So I tested it, and 1902 works but 1901 doesn’t. Why on earth? Chris said
I should ask you. We need to enter pictures that are really old; is there a
class we could use that is not so restrictive?
Katy
(Chris’s wife)
Try this:
require ‘date’
Date.new(1850)
···
On Tuesday 23 March 2004 7:37 pm, Chris Pine wrote:
Hello,
We are making a website to handle all of our family pictures. The
earliest picture I found was 1850, so the code was
Time.mktime(1850)
and it said
ArgumentError: time out of range
So I tested it, and 1902 works but 1901 doesn’t. Why on earth?
Chris said I should ask you. We need to enter pictures that are
really old; is there a class we could use that is not so restrictive?
–
Wesley J. Landaker wjl@icecavern.net
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2