In Time is a 2011 American dystopian science fiction action film, that was written, directed, and produced by Andrew Niccol; starring Justin Timberlake and Amanda Seyfried.
In a dystopian future, time really is money and the wealthy are able to live forever.
When Will Salas (Timberlake) saves a man from time thieves and is gifted a century of time, he suddenly has a lot more life left to live. That is until he is falsely accused of murder and must go on the run, taking along the daughter of a wealthy man (Seyfried) with him.
The film heavily features longevity as a key plot point. People who run out of time drop dead, time thieves try to steal more, and the wealthy are the beneficiaries of an oligarchic/wealth inequality advantage.