Got it after looking into the community…
thanks to time.Duration.between StackOverflow error with items - #2 by cinadr
var delta = time.Duration.between(time.ZonedDateTime.parse(pastupdate.toString()), now).toMillis();
Any way to have directly seconds? or do I have to divide by 1000?