How Day of the week works
Day of the Week tells you which weekday any date falls on, along with two supplementary facts: the day-of-year number (from 1 on 1 January to 365 or 366 on 31 December) and the ISO week number. All three values are computed locally in the browser the moment you select a date; no query goes to a server, and the result is available offline once the page has been opened.
The weekday is determined using the Tomohiko Sakamoto algorithm, which directly computes the day index from the year, month and day values without needing to iterate through dates. The day-of-year is the sum of the days in each completed month up to the date, with an extra day added for months after February in leap years. The week number follows the ISO-8601 standard described in the week-number tool.