I’d wager there have been many New Yorker cartoons with time machines, but the first one I saw came to me from my high school friend Jim Martin, written and drawn by Tom Toro in the 17 Dec 2012 issue (I think) and reprinted in a Readers’ Favorites contest in 2013.
You invented a time machine to come back and. . .

Variants

(1)
  1. “The New Yorker,” |pending byline| (17 December 2012).
  2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . written by unknown persons