is there a possibility to calculate time in NodeRed comparable to what I can do in SQL with dateadd (min) ?
I have a time as a varchar ("23:59") and want to add one minute plus or minus - whenever I press a specific "+" or "-" button.
And I want it to jump automatically from 23:59 to 00:00
you should be able to use $moment in a change node using JSONata
e.g.
$moment($$.payload, "HH:mm").add(7, 'minutes').format("HH:mm")
All string and numeric inputs can be msg.properties. This can be done in a function node to.