Look into SimpleDateFormat in the API to get the '
patterns' you can use to format a date...
I believe the code below is a quick and dirty ( no error checking ) solution... just run the program, passing in a command-line argument in the form of mm/dd/yyyy, where mm is the month, dd is the day, and yyyy is the year. The program will return the day of the week that date is...
HTH,
-Nate
[This message has been edited by Nathan Pruett (edited July 10, 2001).]