Search
 
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
Name
9+7 =