If The Sun Went Out, How Long Could Life On Earth Survive?

Don't worry, you'll have time to post your goodbye selfies to Facebook.