Hi
It will give you an error becase GETSYSTEMVARIABLE('SYSTEM_DATE') returs a string
Use DecDateS
Mike
DecDateS
DecDateS(Date,Format,ChangeType,Decrement):String.
ChangeType: YEAR,MONTH,WEEK,DAY,HOUR,MINUTE,SECOND
Use DecDateS to Decrease ChangeType part of a date value by an Decrement.
DecDateS ('01012003','DDMMYYYY', 'YEAR',1)