Get yesterday's date

Michel COMBE michel.l.combe at free.fr
Wed Nov 27 05:15:17 EST 2002


Hi,

I need to run a SQL query on a MySQL database to get yesterday's records.
How do I specify "yesterday" ?
Isn't there some kind of date arithmetic in Python or should I use an
external library ?
Which library ?

Thanks for your answer

Michel COMBE





More information about the Python-list mailing list