int second = 107653; int day = second / (3600 * 24); int hour= second % (3600 * 24) /3600; int min = second % 3600 / 60; int sec = second % 60; Console.WriteLine("107653 秒是 {0}天{1}小时{2}分钟{3}秒", day, hour, min, sec); Console.ReadLine();