代码、数据与二维码工具

时间转秒数

时间转秒数;输入、输出与参数范围在实施前细化。

优先本地处理无需注册隐私说明 ↗

Use whole hours and two-digit minutes and seconds, from 00:00:00 onward.

使用步骤

如何使用

  1. Enter a duration using HH:MM:SS.
  2. Select Convert to seconds.
  3. Review or copy the total seconds.

HH:MM:SS format

Use a non-negative hour value followed by two-digit minutes and seconds, such as 00:05:30 or 12:00:00. Minutes and seconds must be between 00 and 59.

Exact duration conversion

The result is calculated as hours × 3,600 + minutes × 60 + seconds. Hours may be larger than 23 because this tool converts durations rather than clock times.

Private browser processing

Validation and conversion happen in your browser. The entered duration is not sent to a server.

常见问题

你可能还想知道

Can hours be more than 23?

Yes. This tool accepts any non-negative whole-hour value, so it also works for multi-day durations.

Can I enter minutes or seconds above 59?

No. Use the next larger unit instead, such as 01:02:00 rather than 00:62:00.

Does this convert a time of day?

It converts a duration. It does not apply a time zone or interpret a clock time.