Iiyure ze Calculator
Bala iiyure ezisebenza phakathi kwexesha elinye nelinye, kunye nokuphumla kunye nexesha eligqithisiweyo.
Iinketho ze projekti
Malunga nale Calculator
An hours calculator turns a start and end time into total hours worked, subtracting any unpaid break and splitting the result into regular and overtime hours once you pass a daily threshold. Enter times in 24-hour HH:MM or with AM/PM; an end time before the start is treated as an overnight shift. It also reports the paid time as total minutes.
It first measures the gap between clock-in and clock-out (rolling past midnight if needed), then subtracts the unpaid break in minutes to give the paid hours. If you set a daily overtime threshold, any paid time above it is peeled off into an overtime bucket while the rest stays as regular hours; set the threshold to 0 to treat everything as regular. The final figures come out in decimal hours so they drop straight into a pay calculation.
For example, a shift from 9:00 am to 6:00 pm with a 30-minute unpaid break is 8.5 paid hours; with the overtime threshold at 8 hours that splits into 8 regular plus 0.5 overtime. An overnight shift from 22:00 to 06:30 with a 30-minute break comes to 8.0 paid hours. Use it to add up a day’s hours worked, check a paycheck, or size overtime before it is billed.
Imibuzo ebuza rhoqo
Uqhutywa njani umonakalo?
Ukuphumla okungahlawulwanga kwimizuzu kususwa kwixesha elisebenza phambi kokuba iiyure zixelwe. Umsebenzi osuka ngo-09:00 ukuya ku-17:30 onomzuzu ophumla omalunga nemizuzu engama-30 ulingana neyure ezili-8.0 ezihlawulwayo.
Iiyure zomsebenzi ongaphezulu zihlukaniswa njani?
Any hours above the daily overtime threshold are moved from regular to overtime. With an 8-hour threshold, a 9.5-hour day is 8 regular plus 1.5 overtime. Set the threshold to 0 to count everything as regular.
Ndibala njani iiyure ezisebenza phakathi kwexesha elinye nelinye?
Enter your clock-in and clock-out times, set the unpaid break, and the tool returns the paid hours as a decimal — for example 9:00 to 17:30 with a 30-minute break is 8.0 hours.
Ingaba isebenza ngemini okanye ngemijikelo yezindlu zokugcina?
Ewe. Xa ixesha lokugqitywa lingaphambili kunexesha lokuqalisa, lidibanisa iiyure ezili-24, ngoko i 22: 00 ukuya kwi 06: 00 itshintshwa ibalwa njengeeyure ezili-8 endaweni yexesha eligqithisileyo.
Ndingafumana imali kunye nexesha?
Le sixhobo sijolise kwixesha. Ukulinganisa iyure ngexabiso leyure kwaye ubone unikezelo olupheleleyo lwesinye okanye ngaphezulu kwexesha lokutshintshwa, sebenzisa ikhadi lexesha lobalo.
Ingaba isithuba sihlawulwe okanye asihlawulwanga?
Uphumlo olunika lona luthathwa njengelungahlawulwanga kwaye lususwa kwixesha elisebenza kulo. Ukuba uphumlo lwakho luhlawulwe, shiya indawo yophumlo kwi 0.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/hours-calculator/
curl
curl "https://calculator.free/api/v1/hours-calculator/?start=09:00&end=17:30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/hours-calculator/?" + new URLSearchParams({
"start": "09:00",
"end": "17:30"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.