In "The New Accelerator" (1901) by H. G. Wells, it was done with a drug. In "All the Time in the World" (1951) by Arthur C. Clarke, it was done with ... a device vaguely resembling a wristwatch!
And don't forget other movies... "The Girl, The Gold Watch, and Everything" (1980 TV).