is there a code to create a stop watch.

start
stop
reset

and is there a code to creat a countdown timer