צײַט־װײַטערקײט קלאַס
געפֿינען די צײַט־לענג צװישן צוויי קלײַב־צײַטן
רעזולטאטן װי איר שרײַבט
װײַז די װײַז־פּראָגראַם
time duration calculator works out how long there is between two times of day. Enter times in 24-hour HH:MM or with AM/PM (e.g. 5:30 pm). If the end time is earlier than the start time, it assumes the period runs past midnight into the next day. The result is shown in hours and minutes, as decimal hours, and as a total number of minutes and seconds. It mixes formats freely, so you can type one time in 24-hour and the other with AM/PM so an overnight span reads as a positive length.The tool converts each time to minutes past midnight, subtracts the start from the end, and — if that comes out negative — adds 24 hours, and as raw minutes and seconds for finer work.The tool correctly returns 8 hoursFor example, from 9:00 am to 5:30 pm is 8 hours 30 minutes, or 8.5 decimal hours, or 510 minutes; from 22:00 to 06:00 it correctly returns 8 hours by rolling past midnight it correctly returns 8 hours.For example, from 9:00 am to 5:30 pm is 8 hours 30 minutes, or 8.5 decimal hours, or 510 minutes;For example, from 9:00 am to 5:30 pmThe tool converts each time to minutes past midnight, subtracts the start from the end, and — if that comes out negative — adds 24 hours, and as a total number of minutes and seconds.The time duration calculator works out how long there is between two times of day. Enter times in 24-hour HH:MM or with AM/PM (e.g. 5:30 pm). If the end time is earlier than the start time, it assumes the period runs past midnight into the next day.The tool converts each time to minutes past midnight, subtracts the start time
פֿראַגעס
װאָס אויב דער סוף־צײַט איז פֿריִער װי דער אָנהײב־צײַט?
דער קלײַב־אַרױס־פֿאַרזיכערער באַהאַנדלט עס װי אַ נאַכט־צײַט און צוגעלייגט 24 שעה. אַ שװײַט פֿון 22:00 ביז 06:00 װעט װײַל רעכנט זיך װי 8 שעה, ניט װי אַ נעגאַטיווער צײַט
אױב איך װיל, װעל איך אַרײַנשרײַבן די צײַטן מיט AM און PM?
י. ביידע 24־שעה־פֿאָרמאַטירונגען (17:30) און 12־שעה־פֿאָרמאַטירונגען (5:30 נאַכט) זײַנען צוגעלייגט װי פֿאַר אײן פֿעלדער, אַזוי איר קענט מישן װאָס ס׳איז האַרציק
װאָס פֿאַר אַ װײַז־פֿאַרב
װײַז פֿאָרמאַטירונג
װי װײַז איך אױס די װײַז־פֿאַרב
צעטייל די מינוט־צײכן אױף 60: 30 מינוט איז 0.5 שעה און 15 מינוט איז 0.25 שעה. דער קלײנער טוט דאָס פֿאַר דיר און װײַזט די דעצימאַל־צײַט־ציפֿער צוזאַמען מיטן שעה־מיניטן־רעזולטאט
צי מען לאָזט אױף אײן װײַט־צוגײן?
ניטאײן. דאָס מכשיר גיט די װײַסע צװײטע צ
קען דער צײַט־װײַטערונג־געלײגער אַרײַנשטעלן אַ צײַט־װײַטערונג פֿון 24 שעה?
עס איז געװען צוגעגרייט פֿאַר צוויי שעה־צײַטן אין איין טאָג (אָדער אײן נאַכט־ראָל צום ווייַטערן), אַזוי די גרעסטע צײַט איז קלאָר אונטער 24 שעה. פֿאַר מער־טאָגיקע צײַטן ניצט מען דעם דאַטע־פֿאַרבינדונג־געלײגער
וויפֿל מינוט איז 8 שעה און 30 מינוט?
עס איז 510 מינוט — 8 × 60 איז 480, פּלוס 30. דער קלאַסיקער װײַזט דעם גאַנץ מינוט צאָל צוזאַמען מיטן שעה־מיניטן רעזולטאט אַזוי אַז דו קענסט קאָפּירן װאָס דו װילסט
API — ניצע דעם קאַלקולאַטאָר פֿון קאָד
קלײַב אױס דעם קלײנער װי אַ פֿרײַן JSON סוף־פּונקט — קײן קלײַב ניט נייטיק. שיקן די פֿעלדער־באַטרעף אונטער דעם װי אַ פֿראַגע־פּאַראַמעטער אָדער JSON לייענען די גאַנץ API דאָקומענטאַציע →
סוף־פּראָצעס
GET https://calculator.free/api/v1/time-duration/
curl
curl "https://calculator.free/api/v1/time-duration/?start=09:00&end=17:30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/time-duration/?" + new URLSearchParams({
"start": "09:00",
"end": "17:30"
}));
const data = await r.json();
console.log(data.results);
רעזולטאטן זײַנען אָפּשאַצונגען נאָר פֿאַר אַלגעמיינע װײַזן, ניט פֿאַר פינאַנציעל, מעדיציניש אָדער באַדערפֿענישן