una cosa di questo tipo?
codice:
ToT = 0;
function daquando() {
	ToT = Math.floor(getTimer()/1000) - ToT;
}