{"library":"node-red-contrib-simpletime","title":"Node-RED Simple Time Node","description":"node-red-contrib-simpletime is a lightweight Node-RED node designed to inject and format date and time information into message payloads. Its current stable version is 3.1.0, and based on its npm activity and badge presence, it appears to maintain a regular update cadence. The node provides various pre-formatted date and time properties (e.g., `msg.myymd`, `msg.mytime`, `msg.myepoch`) that can be easily accessed in subsequent flow nodes like function nodes or UI templates. A key differentiator is its minimal footprint and simplicity for common date/time tasks, contrasting with more robust but heavier alternatives like `node-red-contrib-moment` for advanced timezone handling. It can operate on the current system time or process a provided `msg.date` input.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install node-red-contrib-simpletime"],"cli":null},"imports":["npm install node-red-contrib-simpletime","const currentTime = msg.mytime;","msg.date = new Date().toISOString(); return msg;"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install node-red-contrib-simpletime\n\n// Conceptual Node-RED Flow:\n// 1. Drag an 'Inject' node onto the canvas.\n// 2. Drag a 'simpletime' node (from the palette) onto the canvas.\n// 3. Drag a 'Debug' node onto the canvas.\n// 4. Connect 'Inject' -> 'simpletime' -> 'Debug'.\n// 5. Configure the 'simpletime' node (e.g., enable all outputs).\n// 6. Deploy the flow and click the 'Inject' node to see time outputs in the debug sidebar.","lang":"javascript","description":"Installs the node-red-contrib-simpletime package into your Node-RED environment and outlines a basic flow to demonstrate its functionality by injecting a message and observing the added time/date properties in the debug sidebar.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}