Oge Calculator
Ihe oge a na-arụ n'etiti oge abụọ, na nkwụsị na oge n'elu.
Nhọrọ ndị ahụ ga-akpụzi mgbe ị na-etipụta.
N'ihe banyere calculator a
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.
Ajụjụ ndị a na-ajụkarị
Olee otú a na-ejikwa nkwụsị ahụ?
Nkwụsịtụ na-enweghị ụgwọ n'ime minit a na-ewepụ n'ime oge ọrụ tupu oge ahụ a kọwaa. 09:00-17:30 shift na nkwụsịtụ nke 30 nkeji bụ 8.0 awa na-akwụ ụgwọ.
Olee otú oge n'elu oge na-apụ?
Ọtụtụ ọbụla n'elu oge n'ụbọchị n'oge n'oge a na-akpụga site na nke ọfụụ gaa n'oge n'oge. Na 8-ụbọchị n'oge n'oge, ụbọchị nke 9.5-ụbọchị bụ 8 n'oge n'oge na 1.5 n'oge n'oge. Hazie n'oge n'oge ka ọ bụrụ 0 ka ịgụnye ihe niile dịka nke ọfụụ.
Olee otú m ga-esi hazie awa m na-arụ n'etiti oge abụọ?
Tinye oge nke oge-ime na oge nke oge-apụ gị, hazie oge ezumike na-enweghị ụgwọ, nakwa tulee na-eziga oge ezumike dị ka ndezi - dịka ọmụmaatụ 9:00 ruo 17:30 na oge ezumike nke 30-minuite bụ 8.0 awa.
Ọ na-elekọta n'oge abalị mọọbụ n'oge ugwu?
Ee. Mgbe oge nke ikpeazụ bụ n'ihu oge nke mbụ, ọ na-egbakwunye awa 24, ya mere 22:00 ruo 06:00 gbanwere a na-echekwa dịka awa 8 kama nke na-adịghị mma.
Enwere m ike inweta ụgwọ nakwa awa?
Tulee a na-elekwasị anya n'ụbọchị. Iji megharịa ụbọchị site n'ụbọchị na-ewere oge na ịhụ ụgwọ maka otu ma ọ bụ karịa Shifts, jiri oge kaadị kalkulata.
Ọ bụ nkwụsị ahụ a na-akwụ ya ma ọ bụ a na-akwụghị ya?
Nkwụsị ịbanye bụ nke a na-ewere dịka ọbụla na a na-ewepụ ya site na oge ọrụ. Ọ bụrụ na nkwụsị gị bụ nke a na-ewepụ, hapụ nkwụsị ebe na 0.
API — jiri kaadị a site na kóòdù
Kpọọ kalkulata a dịka ebe ngwụcha JSON n'efu - enweghị kii achọrọ. Ziga valiu ebe ahụ n'okpuru dịka paramita ajụjụ mọọbụ JSON. Ihe ọbụla ị na-ewepụ na-eji dìfọ́ọ̀ltụ̀ nke a na-edebe ihuakwụkwọ a na ya; parameter a na-amaghị bụ 400, ọ dịghị sẽọ̀rọ̀. Gụọ ngwe ndị ahụ niile →
Ebemkpofuozi
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);
Ihe a na-ahụta bụ n'ihi nlekọta n'ozuzu ya, ọ bụghị nlekọta ego, ọgwụ ma ọ bụ nlekọta ego.