date calculations in korn shell.

From: egold@fsa.com
Date: Thu Jun 10 2004 - 11:45:11 EDT


I need help figuring out a korn shell issue.

i want to give a korn shell script a date, such as 01/01/04, and have it
tell me the prior and next business date.

In the above example it would be 12/31/03 and 01/02/04

If the date is a friday, i want it to tell me the thurs before and the
monday after.
If its a monday i need the friday before the tues
does anyone have this code ?

thanks in advance!
E
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:50 EDT