When do they usually give the gestational diabetes sugar test?

I’m nearly 23 Weeks and have an appointment come up, but I can’t remember if my doctor mentioned that this would be the sugar test. When is the common time to have it done?