I want to display elapsed time on the screen and I want to reset the timer when I reset it.

How to get elapsed time ? and can we display integer on the screen?