Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop mili sencond from datetime index

>>> d = datetime.datetime.today().replace(microsecond=0)
>>> d
datetime.datetime(2015, 7, 18, 9, 50, 20)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #mili #sencond #datetime #index
ADD COMMENT
Topic
Name
6+9 =