Dead on Time (1983)
Dead on Time is a 1983 British short film directed by Lyndall Hobbs and written by Richard Curtis and Rowan Atkinson. The film is a comedy which tells the story of Bernard Fripp (Rowan Atkinson) a man who, on attending a routine check-up, is diagnosed by his doctor (Nigel Hawthorne) as having a rare disease leaving him only 30 minutes to live.
More at Wikipedia.