N
news.terra.es
Hi all,
I cannot manage an Access short time date format from python ODBC.
How could I do?
Here it is an example of what I do.
[('fLongDate', 'DATE', 19, 19, 0, 0, 1), ('fShortTime', 'DATE', 19, 19, 0,
0, 1)]
File "<interactive input>", line 1, in ?
IOError: [Errno 22] Invalid argument
Regards
I cannot manage an Access short time date format from python ODBC.
How could I do?
Here it is an example of what I do.
[('fLongDate', 'DATE', 19, 19, 0, 0, 1), ('fShortTime', 'DATE', 19, 19, 0,
0, 1)]
31-12-2001 20:30print time.strftime("%d-%m-%Y %H:%M",time.localtime(rec[0].value))
Traceback (most recent call last):print time.strftime("%H:%M",time.localtime(rec[1].value))
File "<interactive input>", line 1, in ?
IOError: [Errno 22] Invalid argument
Regards