Hi guys I have this flow but I'm trying to get my current hour but is not even close I don't know what is happening
[{"id":"5f2dfd9c.f03124","type":"function","z":"8b253657.5d90d8","name":"","func":"global.set('valueone',msg.payload);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":380,"y":232,"wires":[["43dda46c.a02cac"]]},{"id":"43dda46c.a02cac","type":"debug","z":"8b253657.5d90d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":534,"y":232,"wires":[]},{"id":"bc2e421c.1ea6d","type":"inject","z":"8b253657.5d90d8","name":"messagenumerone","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$random()\t","payloadType":"jsonata","x":180,"y":232,"wires":[["5f2dfd9c.f03124"]]},{"id":"29a17fb.d08298","type":"inject","z":"8b253657.5d90d8","name":"messagenumertwo","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"$random()","payloadType":"jsonata","x":180,"y":280,"wires":[["76094289.9729cc"]]},{"id":"83e2c27b.29aec","type":"debug","z":"8b253657.5d90d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":534,"y":280,"wires":[]},{"id":"76094289.9729cc","type":"function","z":"8b253657.5d90d8","name":"","func":"var getvalueone = global.get(\"valueone\");\nvar getvaluetwo = msg.payload;\nvar nd = new Date().toISOString().split(\"T\");\nvar d = nd[0]\nvar t = nd[1].substring(0,8)\nvar dt = d+\" \"+t\nreturn {payload:{\"time\":dt,\"value2\":getvaluetwo,\"value1\":getvalueone} };","outputs":1,"noerr":0,"initialize":"","finalize":"","x":360,"y":280,"wires":[["83e2c27b.29aec"]]}]