From the Super Mario Wiki
Retrieved from "http://www.mariowiki.com/index.php?title=Time_Limit&oldid=2037904"
A Time Limit (or simply Time) is a staple of the main Mario franchise platformer games, and its basic purpose is to notify the player of how much time is allotted to complete a level or task; if the timer reaches zero, the player will lose a life (and if time runs out when the player has no more lives, the game will be over). An in-game "second" is approximately 0.6 or 0.7 seconds (in Super Mario Bros., one in-game "second" lasts 0.4 seconds and in Super Mario Maker, it lasts one second). When the time limit decreases to below 100 units of the time, the "hurry up" jingle plays to warn that the player is low on time and the level's music plays at a rushed tempo. In newer Mario games, if Mario loses a life after hitting a Midway Point, the time limit will be adjusted when he restarts the level from that point.
Once the player finishes a level, the remaining time is multiplied by a number and then added to the player's score (or coin total in Super Mario 3D Land). With few exceptions (e.g. in Super Mario World, Super Mario 3D Land, and Super Mario 3D World), it is impossible to increase a level's time limit. In Super Mario 3D Land, New Super Mario Bros. 2, and Super Mario 3D World, the time limit glows red when it goes below 100.
Time limits additionally appear in several other games such as in the Mario Kart series, Mario Party series, Super Smash Bros. series, and various Mario sports games where they function as a simple timer for a given game session. In Mario & Wario, a variation of the usual timer called the Time Gauge (タイムゲージ), which is represented by a bar rather than numbers.
Each stage in the original Super Mario Bros. lasted 400 in-game seconds, which is 160 real-life seconds (2 minutes 40 seconds).