View Full Version : [Python Question] How to get current TIME?


Sto
May 08, 2006, 07:55 PM
I do not manage to find the current time . I try with 'import time' but time.time() always return the same value . I also always have the same date and time with Utils.formatdate() .
Is there a way of obtaining time running with python ??:confused:
I will like to know that to be able to estimate a computing time of my functions .

Thanks !

Sto
May 08, 2006, 10:38 PM
No problemo ... that goes with 'time.clock()'

surt
May 08, 2006, 10:45 PM
http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/diveintopython/html/performance_tuning/index.html

Sto
May 08, 2006, 10:48 PM
Many thanks ! I will study that ! ... i don't know this website !