Lewati ke konten utama

Konverter Desimal ke Waktu

Ubah jam desimal (seperti 7,5) menjadi format jam:menit:detik (7:30:00), dan sebaliknya — berguna untuk mengubah jam lembar waktu kerja (7,5) menjadi nilai jam (7:30:00) dan kembali lagi.

Input

Jumlah jam, mis. 7,5 untuk tujuh setengah jam.

Output

Breakdown
UnitValue
No data yet
Apakah ini membantu?

Cara lain menggunakan alat ini

REST API

curl -X POST https://api.iotools.cloud/v1/tool/decimal-to-time-converter \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "toTime",
    "decimalHours": "7.5"
  }'

Ganti dengan kunci Anda sendiri dari akun Anda. Bidang alat menjadi isi permintaan — tanpa pembungkus.

Tanyakan ke agen AI

Use the IOTools `decimal-to-time-converter` tool (Decimal to Time Converter) on this input:

YOUR_INPUT_HERE

Tempelkan ini ke agen mana pun yang terhubung ke server MCP IOTools, lalu tambahkan input Anda.

Widget sematan

<iframe
  src="https://iotools.cloud/embed/decimal-to-time-converter/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Konverter Desimal ke Waktu — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Tempelkan ini di halaman Anda sendiri — gratis, tanpa kunci, cukup tautan balik.

Biaya per panggilan API/MCPMulai dari 5 kredit
Butuh kredit lebih?Lihat harga

Juga tersedia melalui

Panduan

The Decimal to Time Converter turns decimal hours (like 7.5) into a clock value (7:30:00), and — unlike a one-way converter — also works in reverse: give it a clock time and it returns the equivalent decimal hours.

Why decimal hours need converting

Timesheets, payroll systems, and billing software often log time as decimal hours because they're easy to sum and multiply by an hourly rate. People, on the other hand, think and enter time as hours:minutes:seconds. Converting between the two by hand is easy to get wrong — 7.5 hours is 7 hours and 30 minutes, not 7 hours and 50 minutes, because the fractional part is a fraction of an hour (60 minutes), not of 100.

How to use it

  1. Pick a direction: Decimal hours → time or Time → decimal hours.
  2. Enter the value — a decimal number of hours (e.g. 7.5), or a clock time as H:MM:SS or H:MM (e.g. 7:30:00 or 7:30).
  3. Read the converted result, plus a full breakdown (hours/minutes/seconds, or decimal hours/minutes and total seconds).

How the conversion works

Decimal hours are multiplied by 3600 and rounded to the nearest whole second before being split into hours, minutes, and seconds — rounding at the second level (rather than rounding hours or minutes independently) avoids off-by-one artifacts like 7.999999 hours showing as 8:00:01. Converting the other way sums the clock value into whole seconds first, then divides by 3600 to get decimal hours, rounded to 6 decimal places.

Frequently asked questions

Why does 7.5 hours become 7:30:00, not 7:50:00? Because 0.5 of an hour is 30 minutes (half of 60), not 50. A quick way to check: multiply the decimal part by 60 — 0.5 × 60 = 30.

Can I convert negative values? No — this tool is built for timesheet and duration use, where hours are always zero or positive. For arithmetic on signed durations, see the Time Duration Formatter.

Is my input sent anywhere? No. The conversion runs entirely in your browser. Nothing you type is uploaded.

decimal hourstimesheetpayrollclockhh:mm:sshours minutes secondstime card

Suka alat-alatnya? Hilangkan iklannya.

Satu kali pembayaran menghapus semua iklan dari akun Anda, selamanya. Tanpa langganan, tanpa pelacakan.