DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to do date time formatting with strftime in python
from datetime import datetime now = datetime.now() print(now.strftime("%d %B %Y %A"))
PREVIOUS
NEXT
Tagged:
#date
#time
#formatting
#strftime
#python
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit