[DB-SIG] ODBC dbiDate and Date() problems

Magnus Lycka magnus@thinkware.se
Sun, 26 Jan 2003 05:35:29 +0100


At 19:14 2003-01-24 -0700, Bob Gailer wrote:
><DbiDate object at 0x010F9958>
>
>Now what do I do with this object. What are its methods/properties?

The name of the class is a hint...

 >>> import dbi, time
 >>> help(dbi)
...
 >>> print dbi.dbiDate(time.time())
Sun Jan 26 05:20:40 2003

Oops, I should sleep a bit..

See also:
http://www.python.org/windows/OdbcHints.html
http://www.python.org/windows/win32/odbc.html



-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se