Maths problem - stuck

There is a signal sent and the "system clock" is read. At the same time the RTC time is read.
They are sent into a function node and the two times compared.

Depending if they are less than the set value different all is good.

I shall hope (weirdly) that I can catch an error tonight and post what I get from it there after.