[Zope] Subtracting 2 datetime objects

Gitte Wange gitte@mmmanager.org
Tue, 4 Sep 2001 16:21:16 +0200


Hello,

I need to figure out a start time for an object from two other start times.

I have made myself a little Python Script inside Zope to test this (because I 
don't know exactly how this works).

So I created myself two variables:
d1 = DateTime('14:55').timeTime()
d2 = DateTime('15:00').timeTime()

time = d2 - d1

return DateTime(time).Time()

This gives me an output of 01:05:00 when I expected 00:05:00.

what is it I don't get ??

TIA,
Gitte Wange