On Jan 26, 10:18 am, Bob Greschke wrote: > You're using the Python-MySQL module mysqldb, right?
Actually I using MySQL with pyodbc as the mysqldb Windows binaries for Python 2.5 aren't out yet. :-( > You can select the data from the database and have > MySQL do the conversion with an SQL command. > > select to_days(<your date column name here>), > <your close column> from <your table>; That works very nicely indeed. Thanks, jab -- http://mail.python.org/mailman/listinfo/python-list