This isn't as easy as it may look at first, Ther isn't an easy way to creat a Calendar or GregorianCalendar object from a
string and any method to change a date is depricated. After some study a possible solution is :
The output is now
Enter a Date in mm/dd/yyyy format
03/01/2000
Todays Date = 03/01/2000
Yesterdays Date = 02/29/2000
-and-
Enter a Date in mm/dd/yyyy format
03/01/1900
Todays Date = 03/01/1900
Yesterdays Date = 02/28/1900
-and-
Enter a Date in mm/dd/yyyy foramt
01/01/2000
Todays Date = 01/01/2000
Yesterdays Date = 12/31/1999
This is better I hope
[This message has been edited by Carl Trusiak (edited September 22, 2000).]