原文:js 获取两个时间戳之间相隔多少天多少小时多少分多少秒

lt script gt function getRemainderTime startTime var s new Date startTime.replace g, , s new Date , runTime parseInt s .getTime s .getTime var year Math.floor runTime runTime runTime var month Math.f ...

2018-05-11 17:07 0 6333 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM