Step by step instructions
Create a new node and press "Set Tool"
In the "Script" section, under "Type", choose "Node.js"
Input your node.js code
Dependencies:
Empty
Script:
async function exeFunc({ timeZone }) {
return new Date().toLocaleString("en-US", { timeZone: timeZone })
}
Properties:
{
"timeZone": {
"type": "string",
"description": "Use the given timezone to format a new time e.g., 'Asia/Tokyo'. The value cannot be UTC."
}
}
Press "Next"
Input name and description