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

baboucarr sanneh sanneh27 at hotmail.com
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
eg

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




 		 	   		  
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091022/80d74ac5/attachment.html>


More information about the Python-list mailing list