You can use JavaScript.
if (p2 === undefined) { return undefined; } let d = new Date(p1); d.setTime(p2*1000); return d.toUTCString();