[Zope-dev] DateTime, strftime and TimeError

Andrew Langmead alangmead at boston.com
Wed May 11 10:29:46 EDT 2005


On May 11, 2005, at 10:08 AM, Santi Camps wrote:

> I think its known that using strftime method of DateTime module  
> with dates <= 1900 or >= 2038, a TimeError is raised.   For instance:


DateTime can handle dates with larger ranges, it just can't display  
them with the strftime method.

DateTime's strftime method is impelemented with the standard C  
libraries' strftime(), and a C time_t datatype only represents dates  
between 1970 and 2038.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20050511/2d5c226c/attachment.htm


More information about the Zope-Dev mailing list