Defining a varibale Node Expire date by custom PHP code in Rules module
Thanks to @undersound, the code below worked!

$duration = [node:field-duration:field-value];
$node-&gt;expire = date('Y-m-d', strtotime("+" . $duration . " days"));
return array("node" =&gt; $node);