Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python datetime get weekday name

import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #datetime #weekday
ADD COMMENT
Topic
Name
4+2 =