PyTime Object and Application Crashing

Mark Hammond mhammond at skippinet.com.au
Wed Jan 21 17:55:13 EST 2004


Robert Brewer wrote:

> Ryan Scott wrote:
> 
>>When I run a query against an access database and the default 
>>date for 
>>my date/time field is 12/30/1899 the application crashes. 
>>Changing this 
>>to a different date like 03/03/2003 works.
>>The output of the query when returned as a list is as follows:
> 
> 
> AFAICT all dates on or before that date will crash.

That is a new one for me :)  I have fixed the crash here, but calling 
Format() (which print does under the covers) will still fail for those 
dates - but with a ValueError.

Mark.




More information about the Python-list mailing list