Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime milliseconds

from datetime import datetime

print(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f')[:-3])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #datetime #milliseconds
ADD COMMENT
Topic
Name
8+4 =