เปลี่ยนเวลา
เปลี่ยนเวลาระหว่างวินาที นาที ชั่วโมง วัน สัปดาห์ และปี
ผลลัพธ์จะปรับปรุงเมื่อคุณพิมพ์
เกี่ยวกับเครื่องคิดเลขนี้
A time converter changes a duration between milliseconds, seconds, minutes, hours, days, weeks, months and years. It converts through the second as a common base, and to keep long spans consistent it fixes a month at the average 30.44 days and a year at 365.25 days so leap years average out.
The everyday anchors are 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day and 7 days in a week. The month and year here are averages rather than calendar values, which is why they will not match a specific date range exactly.
Worked example: to convert 3 hours to minutes, multiply by 60, giving 180 minutes. To find the seconds in a day, 24 × 60 × 60 = 86,400. A results table shows the same duration in every unit from milliseconds to decades, useful for timeouts, billing periods and project schedules.
คำถามที่ถามบ่อย
หนึ่งวันมีกี่วินาที
วันหนึ่งมี 86,400 วินาที (24 x 60 x 60) สัปดาห์หนึ่งมี 604,800 วินาที
หนึ่งปีมีกี่ชั่วโมง
ใช้ปีเฉลี่ย 365.25 วัน จะมีประมาณ 8,766 ชั่วโมงในปี มากกว่า4ปี ส่วนที่เหลือของวัน เพิ่มวันกำหนด
เดือนนึงนี่นานแค่ไหน
A month is treated as 1/12 of an average year, about 30.44 days, because calendar months vary from 28 to 31 days. For exact calendar spans use a date-difference tool.
หนึ่งวันมีนาทีเท่าไหร่
วันหนึ่งมีเวลา 1,440 นาที (24 x 60) และสัปดาห์หนึ่งมีเวลา 10,080 นาที ทำให้ง่ายต่อการปรับขนาดเวลาและกำหนดเวลาการทำงาน
ทำไมเครื่องแปลงเวลาใช้ 365.25 วันต่อปี
The time converter averages in the extra quarter-day that leap years absorb, so a converted year is 365.25 days. That keeps long-duration conversions consistent, though it differs slightly from any single calendar year.
ฉันจะแปลงวินาทีเป็นชั่วโมงได้ยังไง?
Divide the number of seconds by 3,600, since an hour is 60 × 60 seconds. So 7,200 seconds is exactly 2 hours.
API - ใช้เครื่องคิดเลขนี้จากโค้ด
เรียกเครื่องคิดเลขนี้เป็นจุดจบ JSON แบบฟรี - ไม่จำเป็นต้องใช้กุญแจ ส่งค่าในช่องด้านล่างนี้เป็นพารามิเตอร์คำถามหรือ JSON ทุกอย่างที่คุณลบออก จะใช้ค่าปริยายที่หน้านี้ใช้อยู่ พารามิเตอร์ที่ไม่รู้จักคือ 400 และไม่เคยเป็นศูนย์ที่เงียบ อ่านเอกสาร API ทั้งหมด →
จุดสิ้นสุด
GET https://calculator.free/api/v1/time/
curl
curl "https://calculator.free/api/v1/time/?amount=1&from=h&to=min"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/time/?" + new URLSearchParams({
"amount": "1",
"from": "h",
"to": "min"
}));
const data = await r.json();
console.log(data.results);
ผลลัพธ์เป็นเพียงการประมาณการ สำหรับคำแนะนำทั่วไปเท่านั้น ไม่ใช่การเงิน การรักษา หรือคำแนะนำเกี่ยวกับภาษี