Planning a Halloween party
Paste a small example into the tool and change one part at a time.
30 days to go, shown as 4 weeks, 2 days, and the date line reads Saturday, October 31, 2026: a weekend Halloween.
The days left until October 31, the weekday Halloween falls on, and a clock that counts down to the start of the day.
Last updated
Halloween 2027
339 days
Sunday, October 31, 2027
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
Halloween takes its name from All Hallows' Eve, the evening before All Saints' Day on November 1. The date never changes, but the weekday does: Halloween 2026 is a Saturday, 2027 a Sunday and 2028 a Tuesday, because a year is one day longer than 52 weeks and 2028 adds February 29.
The big number counts calendar days, so on October 30 it says 1 day. The clock counts to midnight at the start of October 31 on your device. Trick-or-treating and parties happen in the evening, so add the hours from midnight to your start time, or set the exact time on the countdown to a date page.
On October 31 the page wishes you a happy Halloween, and from November 1 it counts to the next one.
strftime("%A") names the weekday of any date, so four lines list Halloween's weekday for years ahead.The number of days to October 31 is there as soon as the page loads.
The date line under the number tells you if Halloween is on a school night or a weekend.
The weeks and days under the clock help with costumes and party invitations.
October 31 and the day of the week it falls on.
| Year | Halloween |
|---|---|
| 2026 | Saturday, October 31 |
| 2027 | Sunday, October 31 |
| 2028 | Tuesday, October 31 |
| 2029 | Wednesday, October 31 |
| 2030 | Thursday, October 31 |
Paste a small example into the tool and change one part at a time.
30 days to go, shown as 4 weeks, 2 days, and the date line reads Saturday, October 31, 2026: a weekend Halloween.
Copy the original value, run the tool, then compare the result.
The number says 1 day and the clock shows 3 hours to midnight. If trick-or-treating starts at 18:00 on the 31st, you have 21 hours, not 3.
from datetime import date
for year in range(2026, 2031): halloween = date(year, 10, 31) print(year, halloween.strftime("%A"))date(year, 10, 31) builds each Halloween and strftime("%A") names its weekday. The output matches the table above, Saturday for 2026 to Thursday for 2030.
Always on October 31. In 2027 that is a Sunday, and in 2028 a Tuesday.
No. It reaches zero at midnight as October 31 starts on your device. For a party at 19:00, use the countdown to a date and set the time.
Yes, it falls on Sunday, October 31, 2027. In 2026 it is a Saturday, and in 2028 a Tuesday.
The number counts calendar days, and the clock counts the time to midnight at the start of October 31. Partway through any day the clock is a day lower, plus the hours left.