Posted on 2001-08-01
I need a utility class which returns a previous date from current date, for example
i) a date of before seven days/week days to currentdate
ii) a date before one month to current date
ii) a date before one year to current date.
It has to take consideration of all, whether 28 days or 29 days or 30 days or 31 days in a month or whether its a leap year or not...and all.
I need it with code. Can anyone guide me where can i get that class.