At Fri, 5 Sep 2008 17:54:19 -0400, Rob Rothwell wrote: > > How do I reference dates prior to 1900 in Squeak? > > When I print, for instance d := Date fromString: '01/01/1800', I get 1 > January 3700. > > 1700 = 3600, > > etc... > > Should I be using a different Date/TimeStamp package for this sort of thing?
It is only #readFrom: is trying to be too helpful, but the system itself can surely represent these earlier dates. Date class>>year:month:day: does the right thing. -- Yoshiki _______________________________________________ Beginners mailing list [email protected] http://lists.squeakfoundation.org/mailman/listinfo/beginners
