best time for surgery