Date strftime('%d%m%y') date to be of yesterday

baboucarr sanneh sanneh27 at
Thu Oct 22 12:06:04 CEST 2009

Hi all

I want to output the date of the with this format strftime('%d%m%y') but the date ie '%d' should be the date of yesterday

import time
strftime('%d%m%y') # something like minus a day..
Thank a newbie to python

Keep your friends updated—even when you’re not signed in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list