day is the day of the month, month is the month number, and year is the year (Gregorian calendar).
Return the day of the week that date falls on, as one of the strings "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".
A reference point if you need one: 1 January 1971 was a Friday.day=1, month=1, year=2000 → 'Saturday'
1 January 2000 was a Saturday.
day=29, month=2, year=2024 → 'Thursday'
2024 is a leap year, so 29 February exists, and it was a Thursday.
day=1, month=1, year=2000
'Saturday'
Run checks the first 3 tests in your browser. Submit checks all 20 tests on the server, hidden ones included.