How soon should I change my strings before playing a gig, or going to into a recording studio?

My rule of thumb is 2 days, becuase it lets them set in well enough to hold tuning, while retaining a bright crisp tone.

Martin DSR
Taylor 214e
Fender Strat
Epiphone 335 Dot
Carlo Robelli Acoustic

1978 Fender Pro Reverb
Boss Blues Driver
Boss Super Overdrive
EHX Holy Grail
Boss DD-20 Giga Delay
i change mine about 4 or 5 hours before a gig and play them for about 2 hours to warm up and stretch the strings out some. then i retune and get ready for the gig. i like to play strings that are very very new though.
MM Stingray
MIA P Bass
MIM Jazz Bass
GK 700RB-II Head
GK 410SBX Cab
Sansamp 3 Ch. DI
Crybaby Bass Wah
Bass Big Muff
DD3 Delay

MIA Strat
Nashville Tele
Martin 00015M
Hot Rod Deluxe
Big Muff
Hendrix Crybaby Wah
I love the feel of new strings! However, two to three days sounds about right. Thanks, I learned something from this too!