1. 首页
  2. 考试认证
  3. 其它
  4. thethingbox node timestamp添加时间戳至Node RED消息

thethingbox node timestamp添加时间戳至Node RED消息

上传者: 2024-12-09 04:33:55上传 ZIP文件 3.36KB 热度 4次

thethingbox-node-timestamp节点用于向消息添加时间戳。它会将msg.timestamp设置为当前的UTC时间,并以ISO 8601格式表示,例如2014-09-05T09:02:48.954Z。该节点安装在Node-RED的根目录下,您可以通过运行以下命令进行安装:

npm install thethingbox-node-timestamp(安装路径:TheThingBox:/root/thethingbox/node_modules/node-red)。

下载地址
用户评论