DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
print current time hours and minutes in python
import datetime currentime = datetime.datetime.now() time = currentime.strftime('%H:%M') print(time)
PREVIOUS
NEXT
Tagged:
#print
#current
#time
#hours
#minutes
#python
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit