Kaitirotiro Auau
Ka tatau i nga wa i mahia i waenganui i nga wa e rua, me nga wa whakarerekētanga me te wa whakarerekētanga.
Ka whakahōutia ngā hua i te wā e tātuhi ana.
Mo tēnei tātaitai
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. Use it to add up a day’s hours worked, check a paycheck, or size overtime before it is billed.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.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. Use it to add up a day’s hours worked, check a paycheck, or size overtime before it is billed.It 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.It 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.It 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.It 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.
Ko nga pātai e pā ana
He pēhea te whakahaere i te whakaroa?
Ko te wā whakawhāiti kāore i te utu i ngā minu ka tangohia mai i te wā mahi i mua i te pūrongo o ngā wā. Ko te huringa 09:00–17:30 me te wā whakawhāiti 30 minu e 8.0 ngā wā whakawhiwhia.
He pēhea te wehenga o ngā wā o te wā?
Ko ngā wā katoa i runga ake i te taumata o te wā o te rā e neke ana mai i te pūnoa ki te wā o te rā. Me te taumata 8-wā, he 9.5-wā te rā, he 8 pūnoa tae atu ki te 1.5 o te wā o te rā. Ka whakaritea te taumata ki te 0 hei tatau i ngā mea katoa hei pūnoa.
He pēhea te tatau i a au i nga wā i mahia i waenganui i nga wā e rua?
Ka tāuru i tōna wā whāinga-i-whāinga me te whāinga-i-whāinga, ka whakarite i te wāhanga kāore i tohua, ā, ka hoki te utauta ki ngā wā i tohua hei ira — hei tauira, 9:00 ki te 17:30 me te wāhanga 30-rohe he 8.0 wā.
Ka whakahaeretia e ia te pō, te nekehanga whare rānei?
Inā tata ake te wā mutunga i te tīmatanga, ka tāpiri i te 24 wā, nō reira ka tatau te neke 22:00 ki te 06:00 hei 8 wā, kaua ko tētahi wā tōraro.
Ka whiwhi utu ahau i te utu me te wā?
E arotahi ana tēnei utauta ki ngā wā. Hei whakarea i ngā wā mā te mokatere wā, ā, ki te kite i te utu nui mō tētahi neke, neke atu rānei, ka whakamahia te tātaitai kāri wā.
He utu te whakapeka, kāore rānei i te utu?
Ko te wā whakamutu e tāuru ana e whakaarotia ana he kore utu, ā, ka tangohia mai i te wā mahi. Mēnā kua ututia tō tātou wā whakamutu, ka mahue te āpure whakamutu i te 0.
API — whakamahi tēnei tātaitai mai i te waehere
E kī ana tēnei tātaitai hei wāhi mutunga kore JSON - kāore he kī e hiahiatia ana. Ka tukuna ngā uara āpure i raro nei hei tohutoro pātai, JSON rānei. Ka pānui te papatono API katoa →
Whakamutunga
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);
Ko ngā hua he whakataunga mō te tohutohu ahuwhānui anake, ehara i te tohutohu moni, rongoā, tāke rānei.