Latest time to have dinner


Hello, I’m doing the intermittent fasting and typically don’t eat my first meal until 1:00pm to 2:00pm each day. I tend to have dinner late though, around 9:00 or 10:00pm. Is there a time when it’s too late to eat dinner that it undoes the effects of fasting? Is there a dinner time range I should be aiming for? Thank you!