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.