23 Mar
2004
23 Mar
'04
8:47 p.m.
fowlertrainer@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