Pretty straight forward, insert a date and discover the day of the week for that specific date.
Works up to approximately October 1582 (the Gregorian calendar was instaured in October 1582).
The script calculates the day of the week for a given date using Zeller's Congruence formula.
The formula in the script only works with Gregorian dates.