You can do regular math on it as long as you save the date in $ctime format.

on *:LOAD: set $ctime

Then you can simply add 30 days by adding the amt of seconds in 30 days to the var.

set %30days $calc($ctime + 30 * 24 * 3600)

DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius