When is the optimal time to deliver with preexisting diabetes?

Induction of labor at 38-40 weeks has been endorsed as routine management.