시간 지속 시간 계산기
두 시계 시간 사이의 시간을 찾습니다.
입력하는 동안 결과가 업데이트됩니다.
이 계산기에 대해
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 the 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. It converts each time to minutes past midnight, subtracts the start from the end, and — if that comes out negative — adds 24 hours so an overnight span reads as a positive length. The same duration is then presented as simple.For example,For
자주 묻는 질문
종료 시간이 시작 시간보다 먼저 된다면 어떻게 됩니까?
계산기는 이를 밤 기간으로 취급하고 24시간을 추가합니다. 따라서 22:00에서 06:00까지의 시프트는 음수 범위가 아닌 8시간으로 계산됩니다.
AM과 PM으로 시간을 입력할 수 있습니까?
네, 24시간(17:30)과 12시간(5:30 pm) 형식은 양쪽 필드에서 모두 허용되므로 편리한 형식을 혼합할 수 있습니다.
왜 소수점 시간을 표시합니까?
소수 시간 (예를 들어 8.5 대신 8 시간 30 분)은 급여 및 청구 시스템이 사용하는 것입니다, 당신이 시간당 요금으로 직접 곱하기 때문에.
분을 소수 시간으로 변환하려면 어떻게 합니까?
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);
결과는 재정, 의료 또는 세금 조언이 아닌 일반적인 지침을위한 추정치입니다.