<script> var n=new Date(90*1000);//llevar todo a milisegundos alert(n.getHours()+':'+n.getMinutes()+':'+n.getSeconds()) </script>