Day Of The Week calculator

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2010-11-16 | updated: 2013-05-06

Simple Spin function to calculate the day of the week from an input year, month, and date (assumes Gregorian Calendar). Properly accounts for leap years.

Far from rocket science, but since I couldn't find a pre-made object with this sort of simple calendar function, I had to write my own.
I thought someone else might get use out of it too. :-)
Original File Upload
Binary Data DayOfTheWeek.spin7.08 KB