Timer - Not timer class, but time taken to do certain events

[LEFT]So i’m making a little game and want to know how to start a timer and display the number of milliseconds between the start and finish of two different events. I do not want to run a function after 5000 milliseconds or whatever, just record the length of time taken to say click two buttons.

Basically a stopwatch.

I saw the getTimer(); function but i’m not sure of how to use it or if that is what i need.

Once again, thanks for your time.
[/LEFT]