javascript 怎么将秒转换为时间<script>var s=1345670 假设的秒数var t=new Date(0,0,0,0,0,s,0) 转换为Date对象alert(t.toLocaleTimeString()) 显示为标2023-03-23JavaScript260