If a player is in your roster 15 minutes before tip-off, he will be available for your game. All games are simulated starting the 15 minutes before tip-off.
If the transfer occurs anytime after that, he will catch the first flight to his next team immediately following the game.