datetime — Basic date and time types — Python 3 documentation#datetime.datetime.weekday
datetime.weekday()Return the day of the week as an integer, where Monday is 0 and Sunday is 6. The same as
self.date().weekday(). See alsoisoweekday().
Printed 2026-06-28.
(echo:: @ ᯤ)