Condition between x time and y time

It could be better to use:

[quote=“mstormi, post:2, topic:46379”]
now.isAfter(now.withTimeAtStartOfDay.plusDays(1).minusHours(18)) && now.isBefore(now.withTimeAtStartOfDay.plusDays(1).minusHours(17).minusMinutes(30))

This way we go to the end of the day and go back for the hours
This will avoid edge cases like summer time changes