function minuteFormate(minute){ let timeStr = '预计 '; let time = parseInt(minute); if((time/60>>0) > 0 ){ timeStr += (time/60>>0) + '小时' } if(time%60 > 0){ timeStr += time%60 + "分钟"; } return timeStr } minuteFormate((timestamp - 1577808000000) / 1000 / 60)
Js 获取当前时间在当年的时刻
function minuteFormate(minute){ …
本文来自网络,不代表培森的Blog立场,转载请注明出处:https://blog.xupeisen.com/archives/135