Maola Calculator
Kafukufuku maola ntchito pakati pa nthawi ziwiri, ndi kuchoka ndi nthawi yowonjezera.
Zithunzizi zimasintha monga momwe mumalemba.
Zachidule
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.
Mafunso ofunsidwa nthawi zambiri
Kodi ndi chiyani chochititsa mantha?
The unpaid kuchoka mu mphindi amagawidwa kuchokera ntchito span pambuyo maola analengezedwa. A 09:00-17:30 shift ndi 30-mphindi kuchoka ndi 8.0 nthawi yolipira.
Kodi ndi nthawi yowonjezera yogawa?
Nthawi iliyonse pamwamba pa tsiku tsiku zoposa nthawi yowonjezera kuchoka regular kuti zoposa nthawi. Ndi 8-mphindi zoposa nthawi, 9.5-mphindi tsiku ndi 8 regular ndi 1.5 zoposa nthawi. Set the threshold to 0 to count everything as regular.
Kodi ndingatani kuti ndiwerenge nthawi zogwira ntchito pakati pa nthawi ziwiri?
Inu muyenera kulowa wanu clock-in ndi clock-out nthawi, kukhazikitsa kuchoka osalipira, ndi chida amabwerera nthawi yolipira monga decimal - kwachitsanzo 9:00 mpaka 17:30 ndi 30-mphindi kuchoka ndi 8.0 maola.
Kodi imagwira ntchito panthawi ya usiku kapena m'midzi?
Yes. pamene nthawi yamapeto ndi yaitali kuposa kuyamba, amawonjezera 24 maola, kotero 22:00 kuti 06:00 shift ndi kuwerengedwa ngati 8 maola osati zoipa span.
Kodi ndingapeze ndalama monga nthawi?
Kuti muwonjezere nthawi ndi mtengo wa nthawi ndi kuona ndalama zochuluka kwa mphindi imodzi kapena zambiri, kugwiritsa ntchito nthawi kagawo calculator.
Kodi kuchoka kumalipira kapena kulipira?
Kuchoka inu analemba ndi anaona monga opanda ndalama ndi kuchotsa kuchokera nthawi ntchito. Ngati kuchoka wanu analipira, kuchoka pa 0.
API — kugwiritsa ntchito izi calculator kuchokera code
Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →
Chithunzi
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);
Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.