A week ahead is the sweet spot. It's early enough that you get the boat and the departure you actually want, and late enough that you can see the weather forming.
In peak summer the good boats fill first, and the sunset slots go before anything else. If you're coming in July or August, or you have your heart set on a sunset departure, lean earlier rather than later.