ម៉ាស៊ីនគិតលេខម៉ោង
គណនាម៉ោងធ្វើការរវាងពេលពីរដងជាមួយការសម្រាក និងម៉ោងបន្ថែម ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ ។
អំពីម៉ាស៊ីនគិតលេខនេះ
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.
សំណួរដែលសួរញឹកញាប់
តើការសម្រាកត្រូវបានដោះស្រាយយ៉ាងដូចម្តេច ?
ការសម្រាកមិនបង់ប្រាក់ក្នុងនាទីត្រូវបានដកចេញពីរយៈពេលធ្វើការមុនពេលម៉ោងត្រូវបានរាយការណ៍។ 09:00-17:30 ផ្លាស់ប្តូរជាមួយនឹងការសម្រាក 30 នាទីគឺ 8.0 ម៉ោងបង់ប្រាក់។
តើម៉ោងម៉ោងលើសម៉ោងត្រូវបានចែកចេញយ៉ាងដូចម្តេច ?
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.
តើខ្ញុំគណនាម៉ោងធ្វើការរវាងពេលពីរយ៉ាងដូចម្តេច ?
បញ្ចូលនាឡិការបស់អ្នកចូលនិងពេលវេលានាឡិកាចេញកំណត់ការសម្រាកមិនបង់ប្រាក់និងឧបករណ៍ត្រឡប់ម៉ោងដែលបានបង់ប្រាក់ជាលេខដប់ - ឧទាហរណ៍ 9:00 ទៅ 17:30 ជាមួយការសម្រាក 30 នាទីគឺ 8.0 ម៉ោង។
តើវាដោះស្រាយការផ្លាស់ប្ដូរយប់ ឬផ្នូរឬទេ ?
បាទ/ ចាស ។ ពេលវេលាបញ្ចប់មុនពេលចាប់ផ្ដើម វាបន្ថែមម៉ោង 24 ដូច្នេះការផ្លាស់ប្ដូរពី 22:00 ទៅ 06:00 ត្រូវបានរាប់ថាជា 8 ម៉ោង ជំនួសឲ្យរយៈពេលអវិជ្ជមាន ។
តើខ្ញុំអាចទទួលបានប្រាក់ខែនិងម៉ោងដែរឬទេ?
ឧបករណ៍នេះផ្តោតលើម៉ោង ។ ដើម្បីគុណម៉ោងដោយអត្រាម៉ោង និងមើលប្រាក់ឈ្នួលសរុបសម្រាប់ការផ្លាស់ប្ដូរមួយ ឬច្រើន ប្រើម៉ាស៊ីនគិតលេខកាតពេលវេលា ។
តើការសម្រាកត្រូវបានបង់ ឬមិនបង់ ?
ការសម្រាកដែលអ្នកបញ្ចូលត្រូវបានចាត់ទុកថាមិនបានបង់ ហើយត្រូវបានដកចេញពីពេលវេលាដែលបានធ្វើការ ។ ប្រសិនបើការសម្រាករបស់អ្នកត្រូវបានបង់ ទុកវាលសម្រាកនៅ ០ ។
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON ។ អ្វីដែលអ្នករំលងប្រើលំនាំដើមដូចគ្នាដែលទំព័រនេះត្រូវបានបំពេញជាមុនជាមួយប៉ារ៉ាម៉ែត្រមិនស្គាល់គឺ ៤០០ មិនមែនសូន្យស្ងាត់ទេ ។ អានឯកសារ API ពេញលេញ →
ចំណុចបញ្ចប់
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);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.