DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python get current time without milliseconds
>>> import datetime >>> datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") '2011-11-03 18:21:26'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#current
#time
#milliseconds
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit