[python-win32] datetime values in adodbapi
Bob Kline
bkline at rksystems.com
Tue Nov 7 11:48:08 EST 2017
On Tue, Nov 7, 2017 at 10:11 AM, Vernon D. Cole <vernondcole at gmail.com> wrote:
> Obviously Bob has found a where a value an internal form blows up when fed
> directly back into an INSERT. I suspect that if his row.date value was run
> through a real datetime object that things would magically work differently.
I'm not sure what that means. The value I get back from adodbapi from my SELECT
query *is* a Python datetime object:
>>> row = cursor.fetchone()
>>> type(row[0])
<type 'datetime.datetime'>
What would be the difference between that and a "real datetime object"?
--
Bob Kline
http://www.rksystems.com
mailto:bkline at rksystems.com
More information about the python-win32
mailing list