日期:2014-05-17 浏览次数:20450 次
<script type="text/javascript">
var timecount = 90;
var hourseed = 3600;
var minuteseed = 60;
var hour = Math.floor(timecount / hourseed);
var minute = Math.floor((timecount % hourseed) / minuteseed);
var second = (timecount % hourseed) % minuteseed;
alert(hour + ":" + minute + ":" + second);
</script>