On 2017-01-30 19:21, Tom Van Baak wrote: > 2017-01-01T00:00:36.5 - 36 s = 2016-12-31T23:59:60.5 What kind of arithmetic is that? > 2017-01-01T00:00:37.5 - 37 s = 2016-12-31T00:00:00.5 The question was whether 2017-01-01T00:00:36.5 - 37 s is < 2017-01-01 or >= 2017-01-01. Michael Deckers.