Datetime question

Lad python at hope.cz
Thu Aug 3 08:26:31 EDT 2006


In a datetime object I would like to change days and hours.
Or in other words, I would like to copy this datetime object but
increase days and hours.
Is it possible?
For example:If I have a datetime object like this
datetime.datetime(2006, 8, 3, 14, 13, 56, 609000)

I would like to make a new ,for example like this

datetime.datetime(2006, 8, 12, 10, 13, 56, 609000)

is it possible to do so?
Thank you
L




More information about the Python-list mailing list