0

In Python, time.time() returns what ?

18th Jun 2021, 4:32 AM
Barsha Dash
Barsha Dash - avatar
4 Réponses
+ 3
https://docs.python.org/3/library/time.html#time.time
18th Jun 2021, 4:37 AM
visph
visph - avatar
+ 3
Barsha Dash , pythom time method time() returns the time as a floating point in seconds since the begin of the epoch. if you divide this number by (60 * 60 * 24 * 365), you get the beginning of the so called epoch which is 1970 in my system.
18th Jun 2021, 10:28 AM
Lothar
Lothar - avatar
+ 3
Thank you all...🙂
19th Jun 2021, 3:51 AM
Barsha Dash
Barsha Dash - avatar
+ 2
Why don't you try "type()" function to check it 🙂 https://code.sololearn.com/clN23Zn5A40T/?ref=app Hope this code will be helpful for you
18th Jun 2021, 5:09 AM
Abhiyantā
Abhiyantā - avatar