If all humans died, when would the last light go out?

What if humanity somehow disappeared from the face of the earth in an instant, when would the final flicker of artificial light fade away? Randall Munroe from XKCD answers that question in his latest video!