I think you could do the following.
addDays([%BeginOfCurrentDay%], -1)
.[dateAttribute => $DateTimeVariable][dateAttribute < '[%BeginOfCurrentDay%]']
Instead of the DateTime variable you could also use [dateAttribute => '[%BeginOfCurrentDay%] - [%DayLenght%]']
in your XPath constraint.