Databene benerator's writer Volker bergmann gave me an answer when I emailed him the problem.
Just use the TimeUtil
class and some variables like this...
<attribute name="START_DATE" type="date" script="TimeUtil.today()" nullable="false"/>
<variable name="for_endDate" type="int" min="1" max="10" />
<attribute name="END_DATE" type = "date" script="TimeUtil.addDays(this.START_DATE,
for_endDate)" nullable="false"/>
And you have to import the TimeUtil
class at the beginning of the xml just after the setup tag
<import class="org.databene.commons.TimeUtil"/>