Python time.time() Method
The time() method returns the time as a floating point number
expressed in seconds since the epoch, in UTC.
Syntax
time.time()
Parameters
No parameters.
Return Value
A float, representing the seconds since the epoch.
Example
Using the time() method:
Output
Click Run to execute your code
Enjoying these tutorials?