時間の計算
2 つの時計時刻の間の時間を見つけます。
結果はタイプすると更新されます。
この計算機の情報
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. The tool 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 plain hours and minutes.The tool converts each time to minutes past midnight, and — if that comes out negative — adds 24 hours, and as the total number of minutes and seconds.The tool converts each time to minutes past midnight, and — if that comes out negative — adds 24 hours, and adds 24 hours.The tool converts each time to minutes past midnight, and — if that comes out negative — adds 24 hours, and adds 24 hours.The tool converts each time to minutes past midnight, and converts the time span to minutes past midnight.The tool converts each time to minutes past midnight, and — if that comes out negative — adds 24 hours, and adds 24 hours to the total number of minutes and seconds.The tool converts each time to minutes past midnight, and — if that comes out negative — adds 24 hours, and adds 24 hours to the total number of minutes and seconds.The tool converts each time to minutes past midnight, and converts the time span to minutes past midnight.The tool converts each time to minutes past midnight, and adds 24 hours to the total number of minutes and seconds.The tool converts each time to minutes past midnight, and adds 24 hours to the total number of minutes and seconds.The tool converts each time to minutes past midnight, and adds 24
よくある質問
終了時間が開始時間よりも早い場合はどうしますか?
計算機はこれを夜間の期間として扱い、24時間を加算します。22:00から06:00のシフトは負のスパンではなく、8時間として計算されます。
AM と PM で時間を入力できますか?
はい。24時間 (17:30) と 12時間 (5:30 pm) の両方のフォーマットがどちらのフィールドにも受け入れられます。それで、手軽にどちらかを混ぜることができます。
なぜ小数点後の時間を表示するのですか?
十進時間(例えば、8 h 30 m ではなく8.5)は、給与計算システムや請求システムで使われ、時間単位で直接乗算される。
分を小数点後の時間に変換するにはどうしますか?
分数を 60 で割り切ります。30 分は 0.5 時間、15 分は 0.25 時間です。計算機はこれを自動的に行い、小数点後の数字を時間と分の結果の隣に表示します。
ランチ休憩は?
いいえ。このツールは2回の間の間隔を示します。シフトの中で無給休暇を取るには、休暇フィールドがある時間計算器またはタイムカードを使用してください。
この時間計算機は24時間以上のスパンを扱えるのか?
1 日に2 回の時計時間を設定するために設計されており、最大スパンは 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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。