The optimal time for underpinning is typically during dry seasons to minimize complications from groundwater or weather-related delays.