Str 楼主 评论于 2024-12-15
@"Yucho"#p182739 有可能 ``` function convertMilliseconds(ms) { const millisecondsInSecond = 1000; const secondsInMinute = 60; const minutesInHour = 60; const hoursInDay = 24; const daysInMonth = 30; // 近似值 const monthsInYear = 12; let years = Math.floor(ms / (millisecondsInS…
0
回复
