[Zope] Differents of two ZopeTime
Dieter Maurer
dieter at handshake.de
Tue Mar 23 15:47:48 EST 2004
fowlertrainer at anonym.hu wrote at 2004-3-23 12:39 +0100:
> I want to measure the time of process in Zope.
>
> sd=context.ZopeTime()
> ...
> se=context.ZopeTime()
> d=se-sd
> print str(DateTime(str(sd))
> print str(DateTime(str(se))
>
> it is working, so it is show the two datetimes.
>
> But how to I show the different of the times ?
> print str(DateTime(str(d)) is not working good !
You should read the "DateTime" API (--> "DateTime/DateTime.html").
Watch out for the "timeTime()" method.
--
Dieter
More information about the Zope
mailing list