Gestational diabetes is typically diagnosed through a glucose screening test performed between weeks 24 and 28 of pregnancy. This involves drinking a sugary beverage and then having your blood sugar levels tested after one hour.