Day Of The Week calculator

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Andrew Silverman, 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
AttachmentSize
Binary Data DayOfTheWeek.spin7.08 KB