If you set the attribute as a static type, you can use Velocity, but only the base Velocity functionality. This means we can’t use functions or tools like dateTool.
Instead, you’ll want to use a transform here and have a dateMath transform get the now value in ISO8601 format (with a dateFormat transform to convert to a different format, if necessary).
in the “delete” provisioning profile, you can use the Date transform and set a attribute with the date.now. and capture it in the Body with $plan.date$