One rule of thumb is 1 hour per unit of alcohol consumed. In terms of driving - my advice is never to drink at all before driving. After a heavy night out, dirnk lots of water and still question the need to put the key into the ignition until after lunch the next day. If it's for a medical/military/sporting test, I'd say to play safe and not drink for 24 hours before hand. I hope that helps!