I\'m trying to use strftime() to microsecond precision, which seems possible using %f (as stated here). However when I try the following code:
import time im
If you want an integer, try this code:
import datetime print(datetime.datetime.now().strftime("%s%f")[:13])
Output:
1545474382803