Trigger on sensor-reported time that's offset

I’ve searched the forums, but couldn’t find an answer that uses Node Red to accomplish what I’m after.

I have a sensor reporting date + time in the msg.payload: "2019-12-04T06:19+0100"

I would like to trigger a node x minutes before the reported time. Much how Big timer has an ± offset for e.g Sunset

Any help would be much appreciated

I’d probably try to use the function node and to display the date+time as UTC. Then you can simply use math and add or substract the required time span as you wish.

Hmm, that’s what I thought.

I’ll try and figure it out somehow