Re: [Tutor] A question about: Adding seconds to datetime object

2006-11-18 Thread Asrarahmed Kadri
Thanks. It means, you take a datetime object and then using a timedelta object, perform the addition, the language takes care of changing the date if the time crosses midnight. WOW... this makes life a lot easier.. Have a brilliant evening. Best Regards, Asrarahmed Kadri On 11/18/06, Kent John

Re: [Tutor] A question about: Adding seconds to datetime object

2006-11-18 Thread Kent Johnson
Asrarahmed Kadri wrote: > Hi , > > > I have a question: > > Is it possible to add seconds to a datetime object and get the result as > a new datetime object. I mean when we keep adding, for example, 3600 > seconds, the date will get changed after 24 iterations. Is it possible > to carry ou

[Tutor] A question about: Adding seconds to datetime object

2006-11-18 Thread Asrarahmed Kadri
Hi , I have a question: Is it possible to add seconds to a datetime object and get the result as a new datetime object. I mean when we keep adding, for example, 3600 seconds, the date will get changed after 24 iterations. Is it possible to carry out such an operation ? TIA. Best Regards, Asrar