thanks - now it works
I replaced
now.withTimeAtStartOfDay
with
ZonedDateTime.now().with(LocalTime.MIDNIGHT)