代码、数据与二维码工具

时间转十进制

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

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

Use any non-negative whole number of hours. Minutes and seconds must be 00–59.

使用步骤

如何使用

  1. Enter a duration as HH:MM:SS, such as 01:30:00.
  2. Choose how many decimal places to keep.
  3. Review and copy the decimal values.

Strict HH:MM:SS input

Hours may be any non-negative whole number. Minutes and seconds must each be from 00 through 59, so the format is unambiguous at boundaries such as 00:59:59 and 01:00:00.

Choose predictable rounding

The result rounds each decimal value to the selected number of places. The underlying conversion remains exact in seconds before formatting.

Private browser calculation

The conversion runs locally in your browser. No time values are uploaded or stored by this page.

常见问题

你可能还想知道

Can hours be greater than 23?

Yes. This is a duration converter, so values such as 27:15:00 are valid.

Can I enter 90 seconds?

No. Use 00:01:30 because the minutes and seconds fields must stay within 00–59.

What does decimal hours mean?

It expresses the full duration as hours with a fractional part. For example, 01:30:00 is 1.5 decimal hours.

Does rounding change the source duration?

No. Rounding changes only the displayed decimal values; conversion starts from the exact whole-second total.