[Zope] Representing dates before 1970 in DateTime

Dieter Maurer dieter at handshake.de
Wed Oct 22 15:09:53 EDT 2003

Max M wrote at 2003-10-22 11:35 +0200:
 > I have written a CV product for Zope. Basically it contains a list of 
 > competencies. Each competency has a start and end date.
 > I have used Zopes DateTime object for this, and that is the problem, as 
 > it will only go back to 1970.

In principle, "DateTime" can handle dates before "1970".
Just some operations are broken, such as e.g. the constructor
taking integer parameters.

You can e.g. use "d= DateTime('1900/01/01')" and it gives you
correctly 1900-01-01.


More information about the Zope mailing list