def toordinal(self):
        if self.ordinal is None:
            self.ordinal = _ymd2ord(self.year, self.month, self.day)
        return self.ordinal
Return proleptic Gregorian ordinal for the year, month and day.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/tmxxx.toordinal