Task: Jose shared this function node. for video

n8n workflow JSON:
{"nodes":[{"name":"Function","type":"n8n-nodes-base.function","position":[460,300],"parameters":{"functionCode":"let time = DateTime.now().setZone(\"Europe/Madrid\");//.minus({ weeks: 1 }).endOf(\"day\").toISO();\r\nreturn time;"},"typeVersion":1},{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[240,300],"parameters":{},"typeVersion":1}],"connections":{"On clicking 'execute'":{"main":[[{"node":"Function","type":"main","index":0}]]}}}