Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

strptime python decimal seconds

>>> from datetime import datetime
>>> a = datetime.strptime('26/01/12 23:50:32.123', '%d/%m/%y %H:%M:%S.%f')
>>> a.microsecond
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #strptime #python #decimal #seconds
ADD COMMENT
Topic
Name
6+4 =