var start_time = Date.now();
function show_diffs(){
var diff = start_time - Date.now();
console.log(Math.floor( Math.abs(diff)/1000 ) + '秒経過');
}
参考
https://gray-code.com/javascript/calculate-the-difference-between-two-dates-and-times/#section3