I have added a guest as late as when the guest was standing at the check-in desk and it showed up in the resort system with 30 seconds. To be safe - later is better (system could crash, connection between server and resort could go south, etc), but last minute has worked for me in a pinch.