flupke wrote: > I'm using a solid DB and i'm accessing it via the odbc module > (activepython). > I get a DbiDate object returned but i don't find a way to decently print > it or get a format like %d/%m%/%y. >
I convert it to a datetime() instance, like this -
mydate = datetime.datetime.fromtimestamp(int(dbidate))
Then I can use all the functionality of the datetime module.
HTH
Frank Millman
--
http://mail.python.org/mailman/listinfo/python-list
