A definition of a local night is provided as a period of 8 hours falling between 2200 and 0800 local time.
The answer is in the definition, to achieve a local night you need to have 8 hours
between these 2 times, so if you are off duty at 22:45 you would have achieved a local night by 06:45 the following day, in this scenario if you finished duty at 22:45 on a Monday, you could have achieved a legal day off (34 hours and 2 local nights) by 08:45 on the Wednesday.