Early. You want to allow plenty of time for your textbooks to arrive. Even though most textbooks arrive within one week, if something delays the shipping process you do not want to start the semester without your textbooks.
In addition, used textbook inventory is limited. Ordering early gives you a head start on other students seeking the same titles and editions, and allows you to get the best price.