ios秒转换成小时分钟等时间 OCswiftlet timeStamp = lroundf(5.999)let s = timeStamp % 60let m = (timeStamp - s) / 60 %60let h = ((timeStamp - s) / 60 - m) /60 % 24;let time = String(format: "%.2d iOS 2024-01-05 38 点赞 0 评论 57 浏览