Gestational diabetes test

Between what weeks do you go for your gestational diabetes test?? My dr told me but I forgot and it’s not written on my referral