如何计算任意秒数对应的天、时、分和秒? 废话不多说,直接甩代码,以100000为例子: int seconds = 100000; const int oneDay = 24 * 60 * 60; const int oneHour = 60 *