Enter a starting date and a "days until due" date. The starting
date can be typed in, or picked by clicking on the calendar
logo.
Entering a 2 digit year gives a year from 1900 - 1999, on most
systems. Enter the year using 4 digits for any other years.
This means that you cannot enter a date during the first century AD,
although you should not trust any dates before September 14,
1752 anyway, as this code does not compensate for the days
lost in September 1752 during the Julian -> Gregorian
calendar transition in the US and UK. (and other dates
elsewhere) You also cannot enter dates BC.
The "days until due" date can be negative, for a "days before"
function.
By leaving the "days until due" blank, or zero, you can find out
the day of the week for any date.
Correcting for weekends makes the due date fall on a Monday, if
the calculated date fell on a weekend.
Correcting for US Holidays simply adds one day to the due date.
If a holiday falls on Saturday, the preceeding Friday is the
observed day. Thus, that Friday is designated as the holiday,
rather than Saturday. Any due date falling on that Friday is
corrected to Saturday, or to Monday if weekend correction is
selected. If a holiday falls on Sunday, it is observed
on the following Monday.
NORMALLY, IF YOU CORRECT FOR U.S. FEDERAL HOLIDAYS, YOU SHOULD
ALSO CORRECT FOR WEEKENDS, but you don't have to. If you
don't, you will get Saturday holidays, which are observed on
Friday, "corrected" right back to Saturday again. Also, a
Sunday holiday will remain on Sunday, because the actual
observed holiday is on Monday.