Determine Day of Week for a Date
Sometimes, it is necessary to determine which day of the week a given date falls on. For example, if a payment due date falls on a Saturday or Sunday, you may want to determine the date of the following Monday.
The following computation determines the day of the week for a date, and then adds one or two days, if necessary, to return the date of the following Monday.