将格式化的时间(HH:MM:SS)转换为秒。
此工具可让您将格式化的时间字符串 (HH:MM:SS) 转换为秒。它对于计算持续时间和时间间隔非常有用。
In this example, we convert multiple clock times to seconds. Each clock time is listed on a new line and the spacing between input times is preserved in the output.
00:00:00 00:00:01 00:01:00 01:00:00 01:59:59 12:00:00 18:30:30 23:59:59 24:00:00
0 1 60 3600 7199 43200 66630 86399 86400
This example finds how many seconds there are in clock times that are partially written. Some of the clock times contain just the hours and some others contain just hours and minutes.
1 1:10 14:44 23
3600 4200 53040 82800
In this example, we go beyond the regular 24-hour clock. In fact, we even go beyond 60 minutes and 60 seconds.
24:00:01 48:00:00 72 00:100:00 100:100:100
86401 172800 259200 6000 366100