def isoweekday(self):
        # 1-Jan-0001 is a Monday
        return self.toordinal() % 7 or 7
Return day of the week, where Monday == 1 ... Sunday == 7.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/date.isoweekday