def weekday(self):
        return (self.toordinal() + 6) % 7

    # Day-of-the-week and week-of-the-year, according to ISO
Return day of the week, where Monday == 0 ... Sunday == 6.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/date.weekday