Gender?

Has anyone gotten a blood test to find out gender? How many weeks do u have to be? And how long does it take to get the results back? TIA. 😊