The Time Machine is a 2002 American post-apocalyptic science fiction action adventure film loosely adapted by John Logan from the 1895 novel of the same name by H. G. Wells and the screenplay of the 1960 film of the same name by David Duncan.