python get time milliseconds

37

How to get current time in milliseconds in Python -

import time
milliseconds = int(round(time.time() * 1000))
print(milliseconds)

Comments

Submit
0 Comments