A time at bat was a batter's turn at the home plate in baseball, where they would have the opportunity to hit the ball.
In 2366, Paul Stubbs explained to Wesley Crusher about the knowledge of baseball, including times at bat, in his mind. (TNG: "Evolution")