You can sell a player 14 minutes and 59 seconds before the start of your game and he will still play. However it isn't a good time to sell because it will say "injuries are not displayed during a game" and that may put some potential bidders off because he may be injured - it is a sneaky way some managers sell off injured players.