in reply to substract from actual date 7 days and printout in month.days.hours.min.year
Do you mean 7 days, 7*24*60*60 seconds, or something else? Think daylight savings time boundaries, leap seconds, etc.
--MidLifeXis