in reply to substract from actual date 7 days and printout in month.days.hours.min.year

Hello nicopelle,
You have many options to do this: see this node to review them (production code must use serious modules..)
HtH
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.