[python-win32] Adding dates/usr input

acidblue acidrex at earthlink.net
Mon May 24 17:43:42 EDT 2004


Trying to add dates togetther, with user input.
print datetime.date.today()=datetime.timedelta(days=90)
that works fine for today's date , but I want user's to enter their own date. What would the syntax be?
Udate=raw("Date:")
print datetime.date.Udate()+datetime.timedelta(days=90)???
Obviouslly this dosen't work, any suggetions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040524/7674175d/attachment.html


More information about the Python-win32 mailing list