Incode Systems Home Page Incode Systems, Inc.


WEEKDAY



(01-02-1997 8:23am WEEKDAY.EXE)
WEEKDAY - (c) Copyright Glenn B. Lawler, 1996. All Rights Reserved.

Usage: [options] [Date]
Where: Date is in the form MM-DD-YYYY, default is machine date.
If an invalid Date is used, ERRORLEVEL is 0.
WEEKDAY writes the day name to the Standard Output device and
sets the ERRORLEVEL to a corresponding number where Sunday is 1
and Saturday is 7
Options:
/S writes the short form of the day name (SUN,MON,etc.)
/N writes the day number instead of the day name
/+n where n is a positive or negative number to add to date