odbc DbiDate date conversion
flupke
flupke at nonexistingdomain.com
Tue Sep 26 11:00:06 EDT 2006
flupke schreef:
<snip>
When i do the same sql from a client, i get this: 1961-02-15
Seems ok.
If i check the catalog, the native field type is listed as 10 positions
and of type date.
Yet when i print it after i got the values i get this which looks very
weird (print "value ",str(i)," type ",type(i)):
value "main_kamer"."nummer" m" type <type 'DbiDate'>
The type is ok but the result of str(i) looks wrong.
Or is it due to conversion by str?
Regards,
Benedict
More information about the Python-list
mailing list