<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On May 11, 2005, at 10:08 AM, Santi Camps wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">I think its known that using strftime method of DateTime module with dates &lt;= 1900 or &gt;= 2038, a TimeError is raised. <SPAN class="Apple-converted-space">  </SPAN>For instance:</FONT></P></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>DateTime can handle dates with larger ranges, it just can't display them with the strftime method.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>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.<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></BODY></HTML>