1) You can create a recordset to retrieve the value and store it as a session variable. Then you can refer to that session variable whenever it is needed.
2) in php you can use: strtotime("+7 day",$startDate)... in mysql there are several options, but one example is to use: DATE_ADD(DateColumn,INTERVAL 7 DAY)