from datetime import datetime


d =datetime.today()     #获取当前日期时间

d.isoweekday()           #获取时间周几