isoweekday() : day of the week as integer, Sunday =0 , Monday =1 ....
from datetime import date
Using date and time object
from datetime import datetime
All Date Objects
This article is written by plus2net.com team.