How long do you have to serve?
8 seconds after the first referee’s whistle. Serving late is a fault; serving before the whistle is cancelled and repeated.
The 8 seconds start when the referee whistles, not when the player picks up the ball, so most servers have a short routine (a few bounces, a breath, a look at the target) that fits easily into the time.
If the server takes too long, the referee calls a delay in service: the point and the serve go to the other team. Youth and recreational leagues sometimes allow a little longer, but the 8-second rule is standard in competition.