Date cutoff for cdl

When is the cdl needed by for sanitation, do You need it for orientation? I plan on getting it privately so I want to make sure I have it by the deadline. Thanks