How do I make a goal that keeps track of the time spent in a level?

I have been trying to figure this out for a while now but can’t seem to find anything that talks about the subject.

Hi!

You can add Victory plugin and use the new nodes for get time: