Hours Calculator
Calculate maawa anoshanda pakati penguva mbiri, nekuputika uye overtime.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
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.
Zvimwe zvinobvunzwa zvakanyanya
Sei kuparadzana kunoitwa?
The unpaid break in minutes is subtracted from the worked span before the hours are reported. A 09:00–17:30 shift with a 30-minute break is 8.0 paid hours.
Sei overtime mazuva akaparadzwa?
Any hours above the daily overtime threshold are moved from regular to overtime. With a 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.
Ndinogona sei kufungidzira maawa anoshanda pakati penguva mbiri?
Ingopinda yako clock-mu uye clock-out nguva, sarudza kusvikira, uye chirongwa chinodzokera panguva yabhadharwa sedecimal — semuenzaniso 9:00 kusvika 17:30 ne30-minute kusvikira 8.0 mazuva.
Inogona sei kudzora zvirongwa zvezuva nezuva kana zvematombo?
Kana nguva yekupedzisira iri yakati wandei kupfuura nguva yekutanga, inowedzera 24 hrs, saka 22:00 kusvika 06:00 shift inofungidzirwa se8 hrs, kwete senguva inenge isina kunaka.
Ndinogona here kuwana mari pamwe chete nenguva?
Kuti utore nguva nenguva nenguva uye uone mari yegore yeimwe kana yakawanda yezvirongwa, shandisa nguva yechikwereti calculator.
Chikamu ichi chinobhadharwa here kana kuti hachibhadharwe?
Kudzokera kwauri kunoitwa sekunge hakusi kubhadharwa uye kunodzokororwa kubva panguva yawakashanda. Kana kudzokera kwako kuri kubhadharwa, bvisa nzvimbo yekudzokera pa0.
API — kushandisa iyi kalkulator kubva code
Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →
Endpoint
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);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.