Wakati wa Hesabu
Tafuta wakati wa kati ya saa mbili.
Matokeo yanakuwa bora zaidi unapochapa.
Kuhusu kifaa hiki cha kupigia hesabu
A time duration calculator works out how long there is between two times of day. Enter times in 24-hour HH:MM or with AM/PM (e.g. 5:30 pm). If the end time is earlier than the start, it assumes the period runs past midnight into the next day. The result is shown in hours and minutes, as decimal hours, and as a total number of minutes and seconds.
The tool converts each time to minutes past midnight, subtracts the start from the end, and — if that comes out negative — adds 24 hours so an overnight span reads as a positive length. The same duration is then presented three ways: as plain hours and minutes for reading, as decimal hours for payroll and billing, and as raw minutes and seconds for finer work. It mixes formats freely, so you can type one time in 24-hour and the other with AM/PM.
For example, from 9:00 am to 5:30 pm is 8 hours 30 minutes, or 8.5 decimal hours, or 510 minutes; from 22:00 to 06:00 it correctly returns 8 hours by rolling past midnight. Common uses are timing a shift or a task, working out how long an event lasts, or converting a start-and-end pair into the decimal hours a timesheet needs.
Maswali yaliyoulizwa mara nyingi
Namna gani ikiwa mwisho uko kabla ya wakati wa kuanza?
The calculator treats it as an overnight period and adds 24 hours. A shift from 22:00 to 06:00 is therefore counted as 8 hours, not a negative span.
Je, ninaweza kutumia AM na PM?
Yes. Both 24-hour (17:30) and 12-hour (5:30 pm) formats are accepted for either field, so you can mix whichever is handy.
Kwa nini uonyeshe desimali saa nyingi?
Decimal hours (for example 8.5 instead of 8 h 30 m) are what payroll and billing systems use, since you multiply them directly by an hourly rate.
Mimi hubadilije dakika za kazi ili nipate desimali?
Divide the minutes by 60: 30 minutes is 0.5 hours and 15 minutes is 0.25 hours. The calculator does this for you and shows the decimal-hours figure next to the hours-and-minutes result.
Je, inaondoa pumziko la chakula cha mchana?
Kifaa hicho kinawapa nafasi ya kufanya kazi mara mbili ili wafanye kazi kwa saa nyingi, yaani, kupiga hesabu, au kutumia kadi ya muda, ambayo ina mahali pa mapumziko.
Je, wakati huu hesabu ya hesabu inaweza kufanya kazi kwa muda mrefu zaidi ya saa 24?
Imeundwa kwa muda wa saa mbili kwa siku moja (au kwa usiku mmoja kujikunja hadi saa ifuatayo), kwa hiyo urefu wa muda ni chini ya saa 24. Kwa siku nyingi, watu huwekewa alama za tarehe.
Ni dakika ngapi ambazo ni saa 8 na dakika 30?
It is 510 minutes — 8 × 60 is 480, plus 30. The calculator shows this total minutes figure alongside the hours-and-minutes result so you can copy whichever you need.
API bustanini hutumia kifaa hiki cha hesabu kutoka kwenye mfumo wa sheria
Ipigie simu kifaa hiki cha kupigia hesabu kama Junse É not doot toder. Chochote unachoacha kinatumia kiwango kilekile cha mwisho ambacho ukurasa huu haujakamilika; parameta isiyojulikana ni 400, si sufuri kimya kamwe. Soma habari kamili za API docs →
keyboard label
GET https://calculator.free/api/v1/time-duration/
curl
curl "https://calculator.free/api/v1/time-duration/?start=09:00&end=17:30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/time-duration/?" + new URLSearchParams({
"start": "09:00",
"end": "17:30"
}));
const data = await r.json();
console.log(data.results);
Matokeo ni makadirio ya mwongozo wa ujumla, si wa kifedha, wa kitiba au wa kodi tu.