កម្មវិធីបម្លែងពេលវេលា
បម្លែងពេលវេលារវាងវិនាទី នាទី ម៉ោង ថ្ងៃ សប្ដាហ៍ និងឆ្នាំ ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ ។
អំពីម៉ាស៊ីនគិតលេខនេះ
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 × 60 × 60) ។ សប្តាហ៍មួយមាន 604,800 វិនាទី ។
តើមានម៉ោងប៉ុន្មានក្នុងមួយឆ្នាំ ?
ប្រើឆ្នាំមធ្យមនៃ 365.25 ថ្ងៃ, មានអំពី 8,766 ម៉ោងក្នុងមួយឆ្នាំ. លើសពីបួនឆ្នាំថ្ងៃភាគបួនបន្ថែមឡើងទៅថ្ងៃឈប់សម្រាកបន្ថែមមួយ.
តើខែមានរយៈពេលប៉ុន្មាននៅទីនេះ ?
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 × 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 ។ អ្វីដែលអ្នករំលងប្រើលំនាំដើមដូចគ្នាដែលទំព័រនេះត្រូវបានបំពេញជាមុនជាមួយប៉ារ៉ាម៉ែត្រមិនស្គាល់គឺ ៤០០ មិនមែនសូន្យស្ងាត់ទេ ។ អានឯកសារ 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);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.