Time between start and end for each level?

I might be misunderstanding your question, but are you asking for a counter/timer? It starts when the player spawns in and stops when they reach the ending? Like a stopwatch.

Is this for rewards (as in, getting to the end in a small amount of time would give the player an item) or is this just to have a clock on them (if it reaches 00:00:00 they die)?