time.time()

Jeff Epler jepler at unpythonic.net
Sat Jan 24 14:01:19 EST 2004


time.time() returns seconds since a particular time in the past ("the
Epoch"), not seconds since program start or anything like that.


>>> import time
>>> help(time.time)

Help on built-in function time:

time(...)
    time() -> floating point number
    
    Return the current time in seconds since the Epoch.
    Fractions of a second may be present if the system clock provides them.





More information about the Python-list mailing list